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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@may6/mcp-server

v0.1.0

Published

MCP server exposing the may6 financial-data API as Claude-Desktop-compatible tools.

Downloads

293

Readme

may6-mcp

Local MCP server that exposes the may6 financial-data API as four Claude-Desktop-compatible tools. Drop it into your Claude Desktop config and Claude can search instruments, look up identifiers, pull EOD price history, and read SEC EDGAR fundamentals — without writing any API integration code.

This is a thin protocol adapter: caching, quota tracking, source attribution, BYO-key handling, and error classification all happen on the may6 backend. The MCP server just translates MCP tool calls into HTTPS requests and shapes responses for agent consumption.

Install

You don't need to install anything ahead of time — npx runs the latest published version on demand:

npx -y @may6/mcp-server

If you'd rather have it on your PATH for direct invocation:

npm install -g @may6/mcp-server
may6-mcp

Requires Node.js 20 or later.

Claude Desktop config

Add an entry under mcpServers in your claude_desktop_config.json.

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Minimal config (uses may6's hosted API with no BYO keys):

{
  "mcpServers": {
    "may6": {
      "command": "npx",
      "args": ["-y", "@may6/mcp-server"]
    }
  }
}

BYO-key config (forwards your own provider keys to may6 so usage doesn't draw from may6's shared quota):

{
  "mcpServers": {
    "may6": {
      "command": "npx",
      "args": ["-y", "@may6/mcp-server"],
      "env": {
        "MAY6_TWELVE_DATA_KEY": "your-twelve-data-key-here"
      }
    }
  }
}

Restart Claude Desktop after editing the config. You should then see "may6" in the tools menu of the chat.

Tools

| Tool | What it does | |---|---| | search_instruments | Free-text search by company name or partial ticker. Returns matches with FIGIs, exchange, country, currency, security type. Use when the user mentions a company name and you don't have a ticker yet. | | get_instrument | Detailed instrument lookup by ticker — all identifiers (FIGI, ISIN, CIK, etc.) and listings across exchanges. Use after search_instruments, or when the user provides a ticker directly. | | get_prices_eod | Daily end-of-day price history (open/high/low/close/volume per trading day). Defaults to the last year. Use for charts, return calculations, price analysis. | | get_fundamentals | SEC EDGAR XBRL fundamentals for US-listed companies (revenue, net income, etc.). Optional concept filter for a single XBRL line item. Use for financial analysis and ratio calculations. |

Configuration

All configuration is via environment variables. Set them in your Claude Desktop config's env block, or export them in your shell when running locally.

| Variable | Purpose | |---|---| | MAY6_API_BASE_URL | Override the may6 API base URL. Defaults to https://may6.vercel.app. | | MAY6_TWELVE_DATA_KEY | BYO Twelve Data API key. Forwarded as X-Provider-Key-Twelve-Data. | | MAY6_POLYGON_KEY | BYO Polygon API key. Forwarded as X-Provider-Key-Polygon. | | MAY6_FMP_KEY | BYO Financial Modeling Prep key. Forwarded as X-Provider-Key-Fmp. | | MAY6_TIINGO_KEY | BYO Tiingo key. Forwarded as X-Provider-Key-Tiingo. | | MAY6_ALPHA_VANTAGE_KEY | BYO Alpha Vantage key. Forwarded as X-Provider-Key-Alpha-Vantage. | | MAY6_ALPACA_KEY | BYO Alpaca key. Forwarded as X-Provider-Key-Alpaca. | | MAY6_EODHD_KEY | BYO EODHD key. Forwarded as X-Provider-Key-Eodhd. | | MAY6_MCP_DEBUG | Set to 1 to log every constructed URL and response status to stderr. |

Troubleshooting

Claude Desktop doesn't see the server. Confirm the config file is valid JSON (a single trailing comma will silently break it), then fully quit and relaunch Claude Desktop — reloading the window is not enough.

Tools show up but every call fails. Try MAY6_MCP_DEBUG=1 and run may6-mcp from a terminal. The debug logs go to stderr and show the exact URL and response status for every request.

BYO-key env var doesn't appear to take effect. Env vars set in the Claude Desktop config only apply on the next launch. Quit and relaunch Claude Desktop after editing.

npx complains about cached versions. npx -y @may6/mcp-server@latest forces the resolver to skip the cache.

Releasing

Build artifacts in dist/ are produced by npm run build. The npm prepublishOnly hook will rebuild before any publish.

npm version patch       # or minor/major
npm publish

publishConfig.access is set to public in package.json so scoped publishes don't require the --access public flag on the command line. The executable installed by the package is may6-mcp regardless of the package name.

License

MIT.