home / mcp / massive.com mcp server
Provides access to Massive.com data via an MCP server with four composable tools and in-memory DataFrame storage for SQL queries and analytics.
Configuration
View docs{
"mcpServers": {
"massive-com-mcp_massive": {
"command": "uv",
"args": [
"run",
"mcp_massive"
],
"env": {
"HOME": "<your_home_directory>",
"MCP_TRANSPORT": "streamable-http",
"MASSIVE_API_KEY": "YOUR_API_KEY",
"POLYGON_API_KEY": "<POLYGON_API_KEY>",
"MASSIVE_MAX_ROWS": "50000",
"MASSIVE_MAX_TABLES": "50",
"MASSIVE_API_BASE_URL": "https://api.massive.com",
"MASSIVE_LLMS_TXT_URL": "https://massive.com/docs/rest/llms.txt"
}
}
}
}Massive.com MCP Server provides a single MCP endpoint surface that enables an LLM to access the full Massive.com financial data API through four composable tools. It stores results in-memory as DataFrames, supports SQL querying, and exposes built-in financial analytics to enrich responses.
You will run the MCP server locally and connect your MCP client to it. Once running, you can prompt your client to search for endpoints, retrieve endpoint documentation, call any Massive.com API endpoint, or run SQL queries against in-memory DataFrames. Use natural language prompts to explore the API surface, fetch parameter documentation, execute API calls, and analyze data with built-in financial functions.
Prerequisites and commands you need to set up the Massive.com MCP Server are shown here. Follow these steps exactly to ensure the server runs reliably with your client.
uv tool install "mcp_massive @ git+https://github.com/massive-com/[email protected]"Register the MCP server with Claude Code so your client can connect. Replace YOUR_API_KEY with your actual Massive.com API key.
claude mcp add massive -e MASSIVE_API_KEY=YOUR_API_KEY -- mcp_massiveTo upgrade to a newer MCP server version later, run the following.
uv tool upgrade mcp_massiveIf you previously used older installation methods, switch to the current approach shown above. This downloads dependencies once and starts instantly after that.
Run the MCP server locally using the standard startup command. You must provide your Massive.com API key as an environment variable. You can also specify the transport method if you want to use a different communication channel.
uv run mcp_massiveExample with an API key and a different transport (optional):
MASSIVE_API_KEY=your_api_key_here uv run mcp_massive --transport streamable-httpThe server defaults to stdio transport. You can switch to streamable-http by setting the transport option. The API key is required for authentication, and you may configure additional environment variables as needed.
Search for API endpoints and built-in functions by natural language query. Returns names, URL patterns, and descriptions. Supports scoping to endpoints, functions, or all.
Get parameter documentation for a specific endpoint by passing the docs URL from search results.
Call any Massive.com REST API endpoint. Can store results as an in-memory DataFrame (store_as) and apply post-processing functions (apply). Handles paginated responses with a next-page hint.
Run SQL against stored DataFrames using SQLite. Supports SHOW TABLES, DESCRIBE <table>, DROP TABLE <table>, CTEs, window functions, and more. Results can be post-processed with apply.
Black-Scholes option price using the Greeks functions.
Black-Scholes delta using the Greeks functions.
Black-Scholes gamma using the Greeks functions.
Black-Scholes theta using the Greeks functions.
Black-Scholes vega using the Greeks functions.
Black-Scholes rho using the Greeks functions.
Compute simple returns from price data.
Compute logarithmic returns from price data.
Compute cumulative returns over time.
Calculate the Sharpe ratio for performance analysis.
Calculate the Sortino ratio for downside-risk-adjusted performance.
Compute simple moving average.
Compute exponential moving average.