原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Toolstem MCP Server

作者:toolstem版本 1.2.16i★ 1i在你的电脑上运行
注册名称io.github.toolstem/toolstem-mcp-server

安装方法

What it does

Financial intelligence MCP for AI agents — DCF, ratios, comparisons. Pre-computed signals.

  • Connects 在你的电脑上运行
  • Account or key Needs FMP_API_KEY
  • Category 会计、财务与税务

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server Toolstem MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "toolstem": { "command": "npx", "args": [ "-y", "toolstem-mcp-server" ], "env": { "FMP_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) FMP_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Toolstem MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Toolstem MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "toolstem": {
          "command": "npx",
          "args": [
            "-y",
            "toolstem-mcp-server"
          ],
          "env": {
            "FMP_API_KEY": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Toolstem MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Toolstem MCP Server,或回答中出现 Toolstem MCP Server 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Toolstem MCP Server

Toolstem MCP Server 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Toolstem MCP Server 的应用

  • 需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

B · 会计、财务与税务 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Toolstem MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user toolstem --env FMP_API_KEY=your-value -- npx -y toolstem-mcp-server 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) FMP_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Toolstem MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Toolstem MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user toolstem --env FMP_API_KEY=your-value -- npx -y toolstem-mcp-server

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Toolstem MCP Server 在列表中并显示已连接

  6. 试一试

    用 Toolstem MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Toolstem MCP Server,或回答中出现 Toolstem MCP Server 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Toolstem MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "toolstem": { "command": "npx", "args": [ "-y", "toolstem-mcp-server" ], "env": { "FMP_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) FMP_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Toolstem MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Toolstem MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Toolstem MCP Server 的设置中,FMP_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Toolstem MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Toolstem MCP Server,或回答中出现 Toolstem MCP Server 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Toolstem MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Toolstem MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "toolstem": { "type": "stdio", "command": "npx", "args": [ "-y", "toolstem-mcp-server" ], "env": { "FMP_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) FMP_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Toolstem MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Toolstem MCP Server 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Toolstem MCP Server 的设置中,FMP_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Toolstem MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Toolstem MCP Server,或回答中出现 Toolstem MCP Server 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Toolstem MCP Server 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user toolstem --env FMP_API_KEY=your-value -- npx -y toolstem-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "toolstem": {
      "command": "npx",
      "args": [
        "-y",
        "toolstem-mcp-server"
      ],
      "env": {
        "FMP_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "toolstem": {
      "command": "npx",
      "args": [
        "-y",
        "toolstem-mcp-server"
      ],
      "env": {
        "FMP_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "toolstem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "toolstem-mcp-server"
      ],
      "env": {
        "FMP_API_KEY": "your-value"
      }
    }
  }
}

需要你填写的值

  • FMP_API_KEY 机密 必填 env
    Financial Modeling Prep API key

说明仍为英文原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
81/周
连接方式
在你的电脑上运行
最新版本i
1.2.16
发布到注册中心i
2026年6月16日
代码最后更新i
2026年6月23日
作者
toolstem
软件包
npm: toolstem-mcp-server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月16日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 toolstem 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于5个月前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

尚未检查

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 3276 个服务器的 87%
  • 发布到注册中心的时间比此分类中其他 3276 个服务器的 12% 更新
  • 基础检查结果等于或优于此分类中其他 3276 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Toolstem MCP Server 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:FMP_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于5个月前,最新版本(1.2.16)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:SolidInvoice, Signal8, Journalit, Tapetide - Indian Stock Market MCP, Twelve Data

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice正在增长★ 9897天前更新

在云端运行✓ 服务方 · solidinvoice.co

Signal8

SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.

作者:signal8ai正在增长↓ 431/周★ 4257天前更新

电脑或云端✓ 服务方 · signal8.ai

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

作者:Cursivez正在增长★ 2588天前更新

在云端运行✓ 服务方 · journalit.co

Tapetide - Indian Stock Market MCP

48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options

作者:Tapetide-hq正在增长↓ 184/周★ 15119天前更新

电脑或云端✓ 服务方 · tapetide.com

Twelve Data

Real-time and historical market data: stocks, forex, crypto, ETFs, fundamentals and 60+ indicators.

作者:twelvedata正在增长★ 8612天前更新

在云端运行✓ 服务方 · twelvedata.com
  • SolidInvoice — 在云端运行,无需安装 · 不需要密钥
  • Signal8 — 云端或安装在电脑上都可以 · 需要密钥
  • Journalit — 在云端运行,无需安装 · 不需要密钥
  • Tapetide - Indian Stock Market MCP — 云端或安装在电脑上都可以 · 需要密钥
  • Twelve Data — 在云端运行,无需安装 · 不需要密钥 · 在 Claude 的目录中

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

📊 Toolstem — Financial Data MCP for AI Agents | Stock Analysis & DCF

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.

https://mcp.toolstem.com/mcp/finance
  • 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.
  • initialize and tools/list are free (discovery and schema introspection).
  • Each tools/call costs $0.01 USDC on Base mainnet, settled via x402.
Claude Desktop

Drop this into your claude_desktop_config.json:

{

"mcpServers": { "toolstem-finance": { "url": "https://mcp.toolstem.com/mcp/finance" } } }

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:

import { MultiServerMCPClient } from "@langchain/mcp-adapters";

import { ChatOpenAI } from "@langchain/openai"; import { createReactAgent } from "@langchain/langgraph/prebuilt";

const client = new MultiServerMCPClient({ toolstem_finance: { transport: "http", url: "https://mcp.toolstem.com/mcp/finance", // Add your x402-signing middleware via headers, OR run an x402 // proxy locally and point url at it. See https://www.x402.org/clients. }, });

const tools = await client.getTools(); const agent = createReactAgent({ llm: new ChatOpenAI({ model: "gpt-4o-mini" }), tools }); await agent.invoke({ messages: "Compare AAPL, MSFT, and GOOGL on valuation and growth." });

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:

import { createToolstemTools } from 'langchain-toolstem';

const tools = await createToolstemTools({ walletPrivateKey: process.env.WALLET_KEY }); // Tools auto-pay $0.01 USDC per call via x402

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 `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](https://www.x402.org). No API key, no signup, no marketplace account required — the agent's wallet pays directly.
ToolPer call
get_stock_snapshot$0.01 USDC
get_company_metrics$0.01 USDC
compare_companies$0.01 USDC
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.

Agent ──MCP──▶ Cloudflare Worker (x402 paywall) ──MCP──▶ Toolstem MCP server ──REST──▶ Financial Modeling Prep

│ │ └─ free: initialize, tools/list └─ composite tool: fans out to 3–5 FMP endpoints └─ paid: tools/call → 0.01 USDC on Base in parallel, derives signals, returns flat JSON

  • Cloudflare Worker terminates the public MCP connection at mcp.toolstem.com and enforces the x402 payment for tools/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.

ToolTitleRequired inputOptional input
get_stock_snapshotStock Snapshotsymbol (string)—
get_company_metricsCompany Metricssymbol (string)period (annual \quarter, default annual)
compare_companiesCompany Comparisonsymbols (string[2..5])—

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:

{

"symbol": "AAPL" }

Example output (truncated):

{

"symbol": "AAPL", "company_name": "Apple Inc.", "sector": "Technology", "industry": "Consumer Electronics", "exchange": "NASDAQ", "price": { "current": 178.52, "change": 2.34, "change_percent": 1.33, "day_high": 179.80, "day_low": 175.10, "year_high": 199.62, "year_low": 130.20, "distance_from_52w_high_percent": -10.57, "distance_from_52w_low_percent": 37.11 }, "valuation": { "market_cap": 2780000000000, "market_cap_readable": "$2.78T", "pe_ratio": 29.5, "dcf_value": 195.20, "dcf_upside_percent": 9.35, "dcf_signal": "FAIRLY VALUED" }, "rating": { "score": 4, "recommendation": "Buy", "dcf_score": 5, "roe_score": 4, "roa_score": 4, "de_score": 5, "pe_score": 3 }, "fundamentals_summary": { "beta": 1.28, "avg_volume": 55000000, "employees": 164000, "ipo_date": "1980-12-12", "description": "Apple Inc. designs, manufactures..." }, "meta": { "source": "Toolstem via Financial Modeling Prep", "timestamp": "2026-04-17T18:30:00Z", "data_delay": "End of day" } }

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_metrics

Deep fundamentals analysis — profitability, financial health, cash flow, growth, and per-share metrics — synthesized from 5 financial statements endpoints.

Input:

{

"symbol": "AAPL", "period": "annual" }

period accepts annual (default) or quarter.

Example output (truncated):

{

"symbol": "AAPL", "period": "annual", "latest_period_date": "2025-09-30", "profitability": { "revenue": 394328000000, "revenue_readable": "$394.3B", "revenue_growth_yoy": 7.8, "net_income": 96995000000, "net_income_readable": "$97.0B", "gross_margin": 46.2, "operating_margin": 31.5, "net_margin": 24.6, "roe": 160.5, "roa": 28.3, "roic": 56.2, "margin_trend": "EXPANDING" }, "financial_health": { "total_debt": 111000000000, "total_cash": 65000000000, "net_debt": 46000000000, "debt_to_equity": 1.87, "current_ratio": 1.07, "interest_coverage": 41.2, "health_signal": "STRONG" }, "cash_flow": { "operating_cash_flow": 118000000000, "free_cash_flow": 104000000000, "free_cash_flow_readable": "$104.0B", "fcf_margin": 26.4, "capex": 14000000000, "dividends_paid": 15000000000, "buybacks": 89000000000, "fcf_yield": 3.7 }, "growth_3yr": { "revenue_cagr": 8.2, "net_income_cagr": 10.1, "fcf_cagr": 9.5, "growth_signal": "ACCELERATING" }, "per_share": { "eps": 6.42, "book_value_per_share": 3.99, "fcf_per_share": 6.89, "dividend_per_share": 0.96, "payout_ratio": 14.9 }, "meta": { "source": "Toolstem via Financial Modeling Prep", "timestamp": "2026-04-17T18:30:00Z", "periods_analyzed": 3, "data_delay": "End of day" } }

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_companies

Side-by-side comparison of 2–5 companies across price, valuation, profitability, financial health, growth, dividends, and analyst ratings.

Input:

{

"symbols": ["AAPL", "MSFT", "GOOGL"] }

symbols must be an array of 2 to 5 ticker strings.

Example output (truncated):

{

"symbols_compared": ["AAPL", "MSFT", "GOOGL"], "comparison_date": "2026-04-20T18:30:00Z", "companies": [ { "symbol": "AAPL", "company_name": "Apple Inc.", "sector": "Technology", "price": { "current": 178.52, "change_percent": 1.33 }, "valuation": { "pe_ratio": 29.5, "dcf_upside_percent": 9.35 }, "profitability": { "net_margin": 24.6, "roe": 160.5, "roic": 56.2 }, "financial_health": { "debt_to_equity": 1.87, "current_ratio": 1.07 }, "growth": { "revenue_growth_yoy": 7.8, "earnings_growth_yoy": 10.1 }, "dividend": { "dividend_yield": 0.5, "payout_ratio": 14.9 }, "rating": { "score": 4, "recommendation": "Buy" } } ], "rankings": { "lowest_pe": "GOOGL", "highest_margin": "AAPL", "strongest_balance_sheet": "GOOGL", "best_growth": "MSFT", "most_undervalued": "GOOGL", "highest_rated": "MSFT" }, "meta": { "source": "Toolstem via Financial Modeling Prep", "timestamp": "2026-04-20T18:30:00Z", "data_delay": "Real-time during market hours", "api_calls_made": 19 } }

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 rea

只显示了开头部分;其余内容请在仓库中阅读