
Toolstem Mcp Server
io.github.toolstemPublished by GitHub account toolstemv1.2.16Updated Oct 24, 2026
Financial intelligence MCP for AI agents — DCF, ratios, comparisons. Pre-computed signals.
Overview
A financial data MCP server that gives an assistant stock snapshots, company fundamentals and side-by-side comparisons with pre-computed valuation signals.
- What you can do
- Fetch a single stock snapshot: quote, profile, DCF valuation and a composite rating in one response, with derived signals such as undervalued or overvalued and distance from 52-week highs and lows. Retrieve company metrics: profitability, financial health, cash flow, three-year growth and per-share figures for annual or quarterly periods, with margin, health and growth signals. Compare two to five tickers side by side across price, valuation, profitability, health, growth, dividends and ratings, with automatic rankings. All three tools are read-only and idempotent, returning flat JSON that combines several upstream data sources.
- When to use it
- Useful when an assistant needs quick equity research or investment screening: checking a company's valuation and fundamentals, or ranking a short list of stocks on valuation, margins, balance sheet and growth without stitching several API calls together.
- Requirements
- Runs as a local Node.js process installed from npm, or can be reached through the provider's hosted endpoint. Self-hosting requires an FMP_API_KEY environment variable from Financial Modeling Prep. The hosted route needs no key but requires an x402-capable wallet funded with USDC on Base. Optional HTTP mode uses PORT, ALLOW_REMOTE, MCP_AUTH_TOKEN and related variables.
Installation
In SourceWeft
- Open Toolstem Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
📊 Toolstem — Financial Data MCP for AI Agents | Stock Analysis & DCF
[npm version] [npm downloads] [MCP Registry] [License: MIT]
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.
Quickstart — hosted endpoint (recommended)
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.
- No FMP API key required — you do not bring or manage any upstream data key.
- No infrastructure — nothing to install, host, or keep running.
- No setup — connect an MCP client and call a tool.
initializeandtools/listare free (discovery and schema introspection).- Each
tools/callcosts $0.01 USDC on Base mainnet, settled via x402.
Claude Desktop
Drop this into your claude_desktop_config.json:
Restart Claude Desktop, then ask: "Use Toolstem to get a snapshot of NVDA."
Any MCP client (LangChain.js)
The official @langchain/mcp-adapters library connects directly to the hosted URL:
LangChain quick-start (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/.
Pricing
- MCP
initializeandtools/listare free — discovery, schema introspection, and health checks never cost anything. tools/callcosts $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.
How billing works
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.
How it works
Toolstem ships as a Node MCP server (this repo) and as a hosted, x402-gated proxy.
- Cloudflare Worker terminates the public MCP connection at
mcp.toolstem.comand enforces the x402 payment fortools/call. - MCP server (this package) implements the 3 composite tools and talks to Financial Modeling Prep.
- x402 on Base mainnet handles the micropayment — settlement is sub-second, no off-chain accounts.
Tools
Three composite tools, each one synthesizing multiple FMP endpoints with derived signals and pre-computed math.
All three are read-only, idempotent, and safe for agent retry.
get_stock_snapshot
Comprehensive 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—UNDERVALUEDif DCF upside > 10%,OVERVALUEDif < -10%, elseFAIRLY VALUED.market_cap_readable— human-friendly$2.78T,$450.2B,$12.5Mformat.distance_from_52w_high_percent/distance_from_52w_low_percent— pre-computed range position.
get_company_metrics
Deep 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, orCONTRACTINGbased on net margin series direction.health_signal—STRONG,ADEQUATE, orWEAKfrom debt-to-equity, current ratio, and interest coverage.growth_signal—ACCELERATING,STEADY, orDECELERATINGbased 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_companies
Side-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.- All valuation, profitability, health, and growth metrics pre-computed per company.
- Uses batch quote for efficient multi-symbol price retrieval.
Why Toolstem?
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:
- Parallel data fetching — every tool fans out to multiple sources concurrently.
- Derived signals — human-readable recommendations like
UNDERVALUED,STRONG,ACCELERATINGcomputed from raw numbers. - Pre-computed math — CAGRs, YoY growth, margin trends, distance from 52-week high/low, FCF yield, and more are already in the response.
- Flat, predictable schema — no deeply nested vendor quirks leaking into agent prompts.
- Graceful degradation — if one upstream endpoint fails, the rest of the response still comes through with nulls in place.
Advanced: self-host
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.
npm
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.
Claude Desktop (self-hosted)
From source
Environment Variables
Development
Architecture
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.
License
MIT — see LICENSE.
Toolstem — curated financial intelligence for the agent-native economy. https://toolstem.com/finance/
Source: README.md at commit a41ec42
Tools
0Version history
1- v1.2.16LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts