Hermes Plant MCP Server

Hermes Plant MCP Server

Enables AI agents to call deterministic finance and quant APIs (e.g., DCF, Black-Scholes, bond pricing) with per-call payments over x402, no API keys required.

Category
访问服务器

README

Hermes Plant MCP Server

Runnable MCP server and integration examples for Hermes Plant: deterministic finance and quant APIs that AI agents call and pay for per call over x402. No API keys, no shared secrets, no hallucinated math.

What's here: a runnable stdio MCP bridge for registry crawlers and local clients, plus drop-in examples in curl, TypeScript, Python, CrewAI, LangChain, and MCP client configs for Claude Desktop / Cline / Cursor.

What is Hermes Plant?

A hosted catalog of deterministic finance + quant endpoints AI agents call and pay for per call:

Endpoint Use it for Hosted path
DealAnalyzer DCF, IRR, XIRR, NPV /agent-services/dealanalyzer
Waterfall LP/GP private-equity distribution waterfalls /agent-services/waterfall
Options Black-Scholes pricing + Greeks /agent-services/options
Bond Yield, duration, convexity /agent-services/bond
CashflowLens Cash-flow projection + sensitivity /agent-services/cashflowlens
PortfolioGuard Portfolio risk scoring /agent-services/portfolioguard
WalletGuard Wallet AML + sanctions screening /agent-services/walletguard
EmailGuard Email reputation + risk /agent-services/emailguard
DestructGuard Block destructive AI-agent commands /agent-services/destructguard
MCP risk Score MCP server risk before connecting /agent-services/mcp-risk
Evidence Evidence-bundle for paid calls /agent-services/evidence
Payment policy Inspect/score an x402 payment policy /agent-services/payment-policy
ReviewQueue Human-in-the-loop approval routing /agent-services/reviewqueue

Agents discover endpoints through OpenAPI, llms.txt, the x402 manifest, the API catalog, MCP metadata, or agent skills. Pricing is metered per call in USDC on Base mainnet.

How an x402 call works

┌────────┐                          ┌───────────────┐                ┌──────────────┐
│ Client │ ── POST /endpoint ─────▶ │ Hermes Plant  │                │  Facilitator │
│        │                          │               │                │ (Coinbase)   │
│        │ ◀── 402 + challenge ─── │               │                │              │
│        │                          │               │                │              │
│        │ ── POST + signature ──▶ │               │ ─ verify ────▶ │              │
│        │                          │               │ ◀─ ok ─────── │              │
│        │ ◀── 200 + result ────── │               │ ─ settle ───▶  │              │
└────────┘                          └───────────────┘                └──────────────┘
  1. Client makes an HTTP request.
  2. Server replies with 402 Payment Required + a PAYMENT-REQUIRED header carrying the price, network, asset, recipient, and a server-issued nonce.
  3. Client parses the challenge, signs a USDC transfer authorization locally, replays the request with a PAYMENT-SIGNATURE header.
  4. Server verifies the signature via the facilitator, runs the work, settles the payment on-chain, returns 200 OK with the result and a PAYMENT-RESPONSE header.

The full spec lives at github.com/x402-foundation/x402.

Discovery surfaces

These let any agent (or human) self-onboard without help:

Quickstart

Pick the runtime that matches your stack:

Runtime Folder Notes
curl / Bash curl/ Pure shell; useful for inspecting the 402 handshake
TypeScript typescript/ Uses x402-fetch + @modelcontextprotocol/sdk
Python python/ Uses the x402 package
CrewAI crewai/ Finance-agent crew calling Hermes endpoints
LangChain langchain/ LangChain Tool wrapping Hermes
MCP config mcp-config/ One-paste config for Claude Desktop / Cline / Cursor
MCP server mcp-server/ Runnable stdio MCP bridge for discovery, server-card inspection, and hosted-tool listing

MCP server registry build

This repo includes a root glama.json and root Dockerfile for MCP registry crawlers:

docker build -t hermesplant-mcp-server .
docker run --rm -i hermesplant-mcp-server

The container starts the stdio MCP bridge in mcp-server/, which exposes Hermes Plant discovery tools and hosted MCP metadata without requiring API keys.

Wallet setup

Every example assumes:

  • A funded wallet on Base mainnet (chain id 8453).
  • A small USDC balance for paying per-call fees (typical call: $0.01–$0.50).
  • An EOA private key (any standard EVM wallet — MetaMask, Coinbase Smart Wallet, Privy, Dynamic, etc.) — examples read it from WALLET_PRIVATE_KEY.

For testing without real funds, point your client at Base Sepolia (84532) and use the testnet x402 facilitator at https://x402.org/facilitator. Hermes Plant supports both — its /.well-known/x402 manifest declares the active network.

Status

These examples target the production deployment at hermesplant.com. Endpoint signatures may evolve — always cross-reference openapi.json and the /.well-known/x402 manifest before going to production.

Contributing

Issues and PRs welcome. New runtime? New framework? Open a PR with one working example and a tight README.

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选