Skip to main content
Glama
danielbres

massive-mcp

by danielbres

massive-mcp

An MCP (Model Context Protocol) server that exposes the Massive.com REST Stocks API to Claude Desktop and Claude Code.

Built with FastMCP + httpx (async). Stdio transport.

What it covers

Group

Tools

Aggregates / bars

get_aggregates, get_previous_close, get_daily_market_summary, get_daily_ticker_summary

Quotes & trades

get_last_quote, get_last_trade, get_quotes, get_trades

Snapshots

get_snapshot, get_all_snapshots, get_top_movers

Tickers / reference

list_tickers, get_ticker_overview, get_related_tickers, list_ticker_types

Market reference

get_market_status, get_market_holidays, list_exchanges, list_condition_codes

News

get_news

Indicators

get_sma, get_ema, get_rsi, get_macd

Corporate actions

get_dividends, get_splits, get_ipos, get_ticker_events

Financials

get_financials, get_short_interest, get_short_volume

Defaults are tuned to keep responses small (low limit, truncation at 200 items with a _truncated_note). All paginated tools accept cursor and surface next_cursor when more data is available.

Install

# Recommended: uv
uv tool install --from . massive-mcp
# or pipx
pipx install .

For development:

uv sync --extra dev
uv run pytest

Configure

Set your API key via env. Both auth modes are supported — start with bearer; if Massive rejects with 401, switch to query.

export MASSIVE_API_KEY=sk_live_...
export MASSIVE_AUTH_MODE=bearer   # or "query"

Or copy .env.example to .env.

Wire it up

Claude Desktop

Edit claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "massive": {
      "command": "uvx",
      "args": ["massive-mcp"],
      "env": {
        "MASSIVE_API_KEY": "sk_live_...",
        "MASSIVE_AUTH_MODE": "bearer"
      }
    }
  }
}

Restart Claude Desktop.

Claude Code

claude mcp add massive --env MASSIVE_API_KEY=sk_live_... --env MASSIVE_AUTH_MODE=bearer -- uvx massive-mcp

Local dev

uv run massive-mcp

Use the MCP Inspector to exercise tools manually:

npx @modelcontextprotocol/inspector uvx massive-mcp

Try it

Once wired up, ask Claude things like:

  • "What was NVDA's previous close?"

  • "Pull AAPL dividends from the last 12 months."

  • "Show me the top 10 gainers right now."

  • "Get 5-minute bars for TSLA from yesterday."

  • "RSI for SPY over the last 30 days."

Companion skill

This repo also ships a Claude skill — massive-trade-analysis — that uses the MCP tools to produce professional swing / long-term trade plans (entry, SL, cascaded TPs, R:R, position sizing). See skills/ for install instructions.

Notes & limitations

  • REST only. No WebSocket / FlatFiles support.

  • Stocks asset class only. Options/FX/Crypto endpoints are out of scope for v1.

  • Some endpoints (/vX/...) are versioned by Massive as beta — paths may shift.

  • 429 responses are auto-retried honoring Retry-After. 5xx are retried with exponential backoff (max 3 attempts).

  • API key never logged. Errors strip apiKey from the surfaced URL.

License

MIT

Install Server
A
license - permissive license
B
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielbres/Massive-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server