The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Toolstem MCP Server listing page.
Curated financial data MCP for AI agents — equity research in one call.
Toolstem is the financial data MCP built for AI stock analysis, equity research, and agent-driven investment workflows. Real-time stock data, company fundamentals, DCF valuations, financial metrics, and the ability to compare companies side-by-side — all returned as flat, agent-friendly JSON with derived signals already computed.
Works natively with Claude, OpenAI Agents SDK, and LangChain. Pay-per-call pricing, no subscription. More finance MCP servers (SEC filings, insider transactions, institutional holdings) are on the way.
Unlike passthrough wrappers that just expose a vendor's REST API, every Toolstem tool combines multiple data sources, derives signals, and pre-computes the math an agent would otherwise have to do itself.
One call. One agent-friendly JSON response. No nested arrays to parse, no cross-endpoint stitching, no null-checking boilerplate.
Point your MCP client or agent at the hosted endpoint. No API key, no infra, no setup. Billing is per-call via x402 — the agent's wallet pays directly in USDC on Base mainnet.
initialize and tools/list are free (discovery and schema introspection).tools/call costs $0.01 USDC on Base mainnet, settled via x402.Drop this into your claude_desktop_config.json:
Restart Claude Desktop, then ask: "Use Toolstem to get a snapshot of NVDA."
The official @langchain/mcp-adapters library connects directly to the hosted URL:
langchain-toolstem)The langchain-toolstem wrapper handles x402 payment for you — pass a funded wallet key and the tools auto-pay per call:
Prefer to run the server yourself with your own FMP key? See Advanced: self-host at the bottom.
Try the tools live in the Toolstem playground.
Product page: https://toolstem.com/finance/.
initialize and tools/list are free — discovery, schema introspection, and health checks never cost anything.tools/call costs $0.01 USDC on Base mainnet per invocation, paid via x402. No API key, no signup, no marketplace account required — the agent's wallet pays directly.| Tool | Per call |
|---|---|
get_stock_snapshot | $0.01 USDC |
get_company_metrics | $0.01 USDC |
compare_companies | $0.01 USDC |
Toolstem uses the x402 payment protocol. Agents pay per call in USDC on Base — no API keys, no subscriptions, no invoices. The agent's wallet settles each call automatically via EIP-3009.
Toolstem ships as a Node MCP server (this repo) and as a hosted, x402-gated proxy.
mcp.toolstem.com and enforces the x402 payment for tools/call.Three composite tools, each one synthesizing multiple FMP endpoints with derived signals and pre-computed math.
| Tool | Title | Required input | Optional input |
|---|---|---|---|
get_stock_snapshot | Stock Snapshot | symbol (string) | — |
get_company_metrics | Company Metrics | symbol (string) | period (annual | quarter, default annual) |
compare_companies | Company Comparison | symbols (string[2..5]) | — |
All three are read-only, idempotent, and safe for agent retry.
get_stock_snapshotComprehensive stock overview combining quote, profile, DCF valuation, and rating into a single response.
Input:
Example output (truncated):
Derived fields (not in raw APIs):
dcf_signal — UNDERVALUED if DCF upside > 10%, OVERVALUED if < -10%, else FAIRLY VALUED.market_cap_readable — human-friendly $2.78T, $450.2B, $12.5M format.distance_from_52w_high_percent / distance_from_52w_low_percent — pre-computed range position.get_company_metricsDeep fundamentals analysis — profitability, financial health, cash flow, growth, and per-share metrics — synthesized from 5 financial statements endpoints.
Input:
period accepts annual (default) or quarter.
Example output (truncated):
Derived fields:
margin_trend — EXPANDING, STABLE, or CONTRACTING based on net margin series direction.health_signal — STRONG, ADEQUATE, or WEAK from debt-to-equity, current ratio, and interest coverage.growth_signal — ACCELERATING, STEADY, or DECELERATING based on YoY growth trajectory.revenue_cagr, net_income_cagr, fcf_cagr — compound annual growth rates over the analyzed window.fcf_margin, fcf_yield — pre-computed from cash flow + revenue + market cap.compare_companiesSide-by-side comparison of 2–5 companies across price, valuation, profitability, financial health, growth, dividends, and analyst ratings.
Input:
symbols must be an array of 2 to 5 ticker strings.
Example output (truncated):
Derived fields:
rankings — automatically computed: lowest_pe, highest_margin, strongest_balance_sheet, best_growth, most_undervalued, highest_rated.Most financial MCP servers expose one tool per API endpoint — forcing your agent to make 4–5 sequential calls, write glue code, and reason about raw data shapes. Toolstem is built differently:
UNDERVALUED, STRONG, ACCELERATING computed from raw numbers.Most users should use the hosted endpoint above — it needs no API key, no infrastructure, and no setup. This section is for users who specifically want to run the server themselves.
Run the Node MCP server locally with your own FMP key — no x402, no per-call charge beyond your FMP quota. You are responsible for obtaining and managing your own FMP_API_KEY and for any infrastructure you run.
stdio (default — for Claude Desktop, Cursor, etc.):
HTTP — local only (default, binds 127.0.0.1):
HTTP — remote + auth (binds 0.0.0.0, requires bearer token):
Clients must send Authorization: Bearer my-secret on every /mcp request.
HTTP — auth disabled (local only):
MCP_AUTH_DISABLED=1forces the server to bind127.0.0.1regardless ofALLOW_REMOTE. This is a safe "skip auth, local only" mode for development.
HTTP — remote without auth (dangerous):
Warning: This exposes your FMP API key to anyone who can reach the port. Requires all three env vars. A
[SECURITY WARNING]banner prints at startup and repeats every 60 seconds. Only use for trusted networks or development.
| Variable | Required | Description |
|---|---|---|
FMP_API_KEY | Yes (self-hosted) | Financial Modeling Prep API key. Get one at financialmodelingprep.com. Not needed when calling the hosted endpoint. |
PORT | No | Port for HTTP transport. Defaults to 3000. |
ALLOW_REMOTE | No | Set to 1 to bind HTTP on 0.0.0.0 instead of 127.0.0.1. |
MCP_AUTH_TOKEN | When ALLOW_REMOTE=1 | Bearer token for authenticating /mcp requests. |
MCP_AUTH_DISABLED | No | Set to 1 to skip auth. Forces 127.0.0.1 bind unless I_KNOW_THIS_IS_DANGEROUS=1 is also set. |
I_KNOW_THIS_IS_DANGEROUS | No | Set to 1 alongside ALLOW_REMOTE=1 and MCP_AUTH_DISABLED=1 to allow remote access without auth. Triggers a periodic warning banner. |
All FMP endpoints are wrapped in a single FmpClient class. Tool implementations fan out to multiple client methods in parallel via Promise.all, then synthesize the merged result.
MIT — see LICENSE.
Toolstem — curated financial intelligence for the agent-native economy. https://toolstem.com/finance/