npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@byul/mcp

v0.1.4

Published

Byul MCP server (stdio) proxying Byul REST API

Readme

@byul/mcp

Compliant with the latest Model Context Protocol (MCP) specification.

Links

Overview

@byul/mcp is a stdio-based MCP server that proxies the Byul REST API. It exposes a small set of MCP tools and a resource that forward requests to Byul endpoints and return the original JSON response, plus a short article-count summary string.

Requirements

  • Node.js 18+
  • BYUL_API_KEY environment variable

Quick start

BYUL_API_KEY=byul_xxxxxxxxxxxxx npx -y @byul/mcp

Configuration

Register this server as an MCP provider in your LLM client. The client will launch the server via stdio and communicate using JSON-RPC over stdin/stdout.

Parameters

  • Tools (summary; see @docs for the full spec)
    • news_fetch → proxies GET /news with filters: limit, cursor, sinceId, minImportance, q, symbol, startDate, endDate
  • Resource (summary; see @docs for the full spec)
    • byul://news{?limit,cursor,sinceId,minImportance,q,symbol,startDate,endDate}

Each response contains:

  • A summary string like “Returned N articles”
  • The original JSON payload from the Byul API

Available Tools

news_fetch

  • Description: Fetch latest financial news
  • Parameters:
    • limit (number, optional) – number of articles (1-100)
    • cursor (string, optional) – pagination cursor from previous page
    • sinceId (string, optional) – return articles created after this ID
    • minImportance (number, optional) – minimum importance (1-10)
    • q (string, optional) – search query
    • symbol (string, optional) – stock symbol (e.g., AAPL)
    • startDate (string, optional) – ISO 8601 start timestamp (UTC)
    • endDate (string, optional) – ISO 8601 end timestamp (UTC)
  • Example request:
Fetch top 5 news articles about AAPL from the past week

Security

  • Provide the API key via the BYUL_API_KEY environment variable only. Do not hardcode credentials in code or configs.

Platform setup

1) Cursor (latest)

~/.cursor/mcp.json or project .cursor/mcp.json:

{
  "mcpServers": {
    "byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": { "BYUL_API_KEY": "byul_xxxxxxxxxxxxx" }
    }
  }
}

2) Claude Code (VS Code extension)

CLI

claude mcp add -e BYUL_API_KEY=byul_xxxxxxxxxxxxx --scope user byul npx -- -y @byul/mcp

Settings JSON

{
  "mcpServers": {
    "byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": { "BYUL_API_KEY": "byul_xxxxxxxxxxxxx" }
    }
  }
}

3) Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": { "BYUL_API_KEY": "byul_xxxxxxxxxxxxx" }
    }
  }
}

4) VS Code

Workspace .vscode/mcp.json:

{
  "mcpServers": {
    "byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": { "BYUL_API_KEY": "byul_xxxxxxxxxxxxx" }
    }
  }
}

5) Windsurf

windsurf_mcp.json:

{
  "mcpServers": {
    "mcp-server-byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": {
        "BYUL_API_KEY": "byul_xxxxxxxxxxxxx"
      }
    }
  }
}

6) Gemini CLI

~/.gemini/settings.json:

{
  "mcpServers": {
    "byul": {
      "command": "npx",
      "args": ["-y", "@byul/mcp"],
      "env": { "BYUL_API_KEY": "byul_xxxxxxxxxxxxx" }
    }
  }
}

If the mcpServers object does not exist, create it. This package supports stdio (local) transport only.

Troubleshooting

  • Missing API key

    • Error example: Missing BYUL_API_KEY environment variable
    • Fix: set BYUL_API_KEY in your environment before launching the server
  • Corporate proxy / firewall

    • npx must reach the registry to download @byul/mcp on first run; configure your proxy settings accordingly
  • Windows / WSL path and env

    • PowerShell example:
      $env:BYUL_API_KEY = "byul_xxxxxxxxxxxxx"
      npx -y @byul/mcp
  • Transport scope

    • This package covers only stdio transport. HTTP/SSE transports are intentionally not covered in this guide.

Compliant with the latest Model Context Protocol (MCP) specification.