
Toolstem Mcp Server
io.github.toolstem由 GitHub 账号 toolstem 发布v1.2.16更新于 Oct 24, 2026
Financial intelligence MCP for AI agents — DCF, ratios, comparisons. Pre-computed signals.
概览
一款金融数据 MCP 服务器,让助手获取股票快照、公司基本面和公司对比,并附带预先计算好的估值信号。
- 可以做什么
- 获取单只股票快照:一次返回行情、公司简介、DCF 估值和综合评级,并给出高估或低估、距 52 周高低点距离等衍生信号。查询公司指标:按年度或季度返回盈利能力、财务健康、现金流、三年增长和每股数据,并附利润率、健康度和增长信号。对比两到五只股票的价格、估值、盈利能力、财务健康、增长、分红和评级,并自动生成排名。三个工具均为只读且幂等,返回扁平 JSON,整合多个上游数据源。
- 适用场景
- 适合助手需要快速做股票研究或投资筛选时使用:查看某公司的估值与基本面,或在一小组股票中按估值、利润率、资产负债表和增长排序,而无需自行拼接多次 API 调用。
- 运行要求
- 以本地 Node.js 进程运行,通过 npm 安装,也可使用服务商提供的托管端点。自托管需要 Financial Modeling Prep 的 FMP_API_KEY 环境变量。托管方式无需密钥,但需要支持 x402 且存有 Base 链上 USDC 的钱包。可选 HTTP 模式使用 PORT、ALLOW_REMOTE、MCP_AUTH_TOKEN 等变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Toolstem Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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/
来源:README.md,提交 a41ec42
工具
0版本历史
1- v1.2.16最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分