Skip to main content
Glama
polygon-io

Massive.com MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TRANSPORTNoTransport protocol: stdio, sse, or streamable-httpstdio
MASSIVE_API_KEYYesYour Massive.com API key
POLYGON_API_KEYNoDeprecated alias for MASSIVE_API_KEY
MASSIVE_MAX_ROWSNoMaximum rows per stored tables50000
MASSIVE_MAX_TABLESNoMaximum number of in-memory tables50
MASSIVE_API_BASE_URLNoBase URL for API requestshttps://api.massive.com
MASSIVE_LLMS_TXT_URLNoURL for the endpoint indexhttps://massive.com/docs/rest/llms.txt

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_endpointsA

Search for market data API endpoints and built-in finance functions by natural language query. Use this FIRST to find the right endpoint before calling call_api. Covers stocks, options, forex, crypto, futures, indices, ETFs, and economic data. Pass market to pin results to a specific asset class when you already know it; omit it and the server will infer from the query. Use detail="more" to see query parameter docs needed for building call_api requests.

call_apiA

Fetch data from a Massive.com REST API endpoint. Use a path from search_endpoints results. Set store_as to save results as an in-memory table for SQL querying with query_data. Paginated responses include a next-page hint with the exact path and params for the follow-up request. The apply parameter runs built-in functions on results — string input values refer to table columns, numeric values are literals. Use search_endpoints with scope="functions" to discover available functions.

query_dataA

Run SQL queries on tables stored via call_api's store_as parameter. Special commands: SHOW TABLES, DESCRIBE , DROP TABLE . Tables auto-expire after 1 hour. Supports CTEs, window functions, JOINs, and ILIKE.

Full-text search: any stored table with TEXT columns is searchable directly via FTS5. Use WHERE {table} MATCH 'query' and ORDER BY rank (lower = better). Numeric columns preserve their types. For long TEXT fields (news body, 10-K risk factors, filings) prefer snippet()/highlight() in SELECT instead of the raw column — full paragraphs can be thousands of tokens each.

Recommended FTS pattern:

  1. Find matches compactly: SELECT rowid, category, bm25({t}) AS score, snippet({t}, 4, '[', ']', '...', 15) AS snip FROM {t} WHERE {t} MATCH 'supply chain OR supplier' ORDER BY rank

  2. Fetch the full body only for rows you need: call query_data again with SELECT supporting_text FROM {t} WHERE rowid IN (2, 7) and max_cell_chars=0.

Output cells over max_cell_chars (default 2000) are truncated with a visible marker; raise or set to 0 to disable.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/polygon-io/mcp_massive'

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