JarvisClaw — AI Gateway & API Marketplace

io.github.api-jarvisclaw由 GitHub 账号 api-jarvisclaw 发布v1.1.0更新于 Oct 24, 2026

320 AI models + 2,720 pay-per-call APIs. x402 USDC on Base or Solana, no API key.

已验证Streamable HTTP可网页运行金融商业与电商AI 与机器学习

概览

AI 生成的概览

JarvisClaw 是一个 AI 网关与按次计费 API 市场,让助手与多种模型对话、搜索并调用计价 API,并在预算上限内执行 AI 任务。

可以做什么
通过一个兼容 OpenAI 的端点列出并与多种 AI 模型对话,未指定模型 ID 时可自动路由。搜索 API 市场,并查看所选端点的完整规格、价格与请求格式。按能力、类别或名称发现其他已注册的智能体。浏览 AIP 意图类型、预估任务成本,并为某个意图解析出排序后的计价供应商。在设定的花费上限内端到端执行 AI 任务,以 Base 或 Solana 上的 USDC 结算。
适用场景
当你希望通过一个连接使用多种前沿模型和数千个单独计价的 API,或希望助手在硬性预算上限内规划并执行付费 AI 任务、且无需账户或 API 密钥时使用。
运行要求
可使用远程 Streamable HTTP 端点,或用 npx 运行本地 npm 包(需要 Node.js)。付费工具需要在 JARVISCLAW_WALLET_KEY 中提供钱包私钥以进行本地签名,或在远程方式下使用以 Authorization Bearer 头发送的预付费 API 密钥。JARVISCLAW_CHAIN 选择 base 或 solana,也可设置自定义 Solana RPC。免费的目录类工具无需任何凭据。
安装前请注意
付费工具会从所提供密钥对应的钱包中花费真实 USDC;该密钥用于本地签名,应视为敏感信息。远程方式无法签名支付,因此付费工具需要预付费密钥。安全上限会拒绝单笔超过 100 USDC 的支付。README 指出经 Solana 库引入的若干中危 npm 公告尚未解决,即使在 Base 路径下也会加载。

安装

在 SourceWeft 中

  1. 打开 控制台中的 JarvisClaw — AI Gateway & API Marketplace,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.api-jarvisclaw%2Fjarvisclaw/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "jarvisclaw-ai-gateway-api-marketplace": {
      "type": "http",
      "url": "https://api.jarvisclaw.ai/mcp"
    }
  }
}

README

JarvisClaw MCP Server

283 AI models and 2,720 pay-per-call APIs through one MCP server. Settles in USDC on Base or Solana over x402 — no account, no API key, no subscription.

Three ways to reach a service:

  • Models — 283 of them (GPT-5, Claude Opus 5, Gemini 3, DeepSeek) behind one OpenAI-compatible chat tool, or auto to let the router pick.
  • API marketplace — 2,720 individually priced endpoints across 40 categories (search, blockchain, code, DNS, image, document, OCR, email, geo, TTS…), of which 411 are curated. Search it, read the price, then call it.
  • AIP intents — 13 intent types. Say what you need (web_search, image_generation, translation…) and AIP resolves it to a provider, so the caller never has to know the URL layout.

Counts move as the catalogue changes; list_models, search_apis and aip_list_intents are the live answer.

Quick start

Local wallet signing (recommended for x402)

Run this package. It presents itself to your client as a normal stdio MCP server, forwards every request to the gateway, and when a call needs paying it signs the x402 payment on your machine and retries. Your private key is never transmitted — only the signed payment payload is.

bash
JARVISCLAW_WALLET_KEY=0xyourkey npx jarvisclaw-mcp

Claude Desktop / Cursor, Base wallet:

json
{  "mcpServers": {    "jarvisclaw": {      "command": "npx",      "args": ["-y", "jarvisclaw-mcp"],      "env": {        "JARVISCLAW_WALLET_KEY": "0xYOUR_BASE_PRIVATE_KEY",        "JARVISCLAW_CHAIN": "base"      }    }  }}

Solana wallet:

json
{  "mcpServers": {    "jarvisclaw": {      "command": "npx",      "args": ["-y", "jarvisclaw-mcp"],      "env": {        "JARVISCLAW_WALLET_KEY": "YOUR_SOLANA_BS58_SECRET_KEY",        "JARVISCLAW_CHAIN": "solana"      }    }  }}

Direct URL (no local process)

For Claude Code, Cursor, or any client with Streamable HTTP transport. One less hop, but there is no wallet in this path: free tools work, and paid tools need a pre-paid API key, because nothing here can sign a payment.

json
{  "mcpServers": {    "jarvisclaw": {      "type": "url",      "url": "https://api.jarvisclaw.ai/mcp",      "headers": { "Authorization": "Bearer sk-your-api-key" }    }  }}

Without the header the same URL still lists the catalogue for free; paid tools answer with an x402 quote that you would have to sign yourself.

Environment variables

VariableRequiredDefaultDescription
JARVISCLAW_WALLET_KEYfor paid tools—Base private key (0x… hex) or Solana secret key (base58). Used only for local signing.
JARVISCLAW_CHAINnobasebase or solana. Which option to sign when the server offers both.
JARVISCLAW_MCP_URLnohttps://api.jarvisclaw.ai/mcpRemote MCP endpoint.
JARVISCLAW_SOLANA_RPCnopublic mainnet RPCCustom Solana RPC (recommended — the public one is rate-limited).
JARVISCLAW_API_KEYno—Optional API key sent as Authorization: Bearer. Free tools need no credential.

Tools

ToolWhat it doesBilled
list_modelsEvery model available, with the IDs to pass to chatfree
search_apisSearch the 2,720-endpoint marketplace; each hit carries its path and pricefree
aip_list_intentsBrowse the intent types AIP can routefree
aip_estimate_costPrice an intent before committing to itfree
chatAny model, OpenAI-compatiblepaid
get_api_detailFull spec for a marketplace API: pricing, method, exact requestpaid
discover_agentsFind other agents registered on the gatewaypaid
aip_resolveRank providers for an intent, priced, before you spendpaid
aip_execute_with_budgetRun a task end to end under a spending cap you setpaid

Free tools answer without credentials, so you can list the catalogue before deciding to pay for anything. Protocol methods (initialize, tools/list, resources/list) are free too.

Paying

MethodHeaderWhen
x402 USDCPAYMENT-SIGNATURENo account. Wallet settles on Base or Solana.
API keyAuthorization: Bearer sk-…Pre-paid account.

A paid tool called without either does not fail — it answers with an x402 quote:

tools/call → 402 with payment terms (amount, asset, payTo, network)          → this proxy signs a USDC authorization locally          → retry with PAYMENT-SIGNATURE → result

With JARVISCLAW_WALLET_KEY set, all three steps happen inside this process and your client just sees the result. Without it, the quote is passed through to your client unanswered.

Both chains are live, which most x402 sellers cannot say: settle wherever the agent already holds USDC rather than bridging to reach one gateway. Every paid response carries an EIP-712 signed settlement receipt that a third party can verify offline — recompute the hashes, recover the signer, check the tx on-chain — without trusting us.

Security

  • The wallet key is read from the environment and used only to sign payment authorizations locally. It is never sent to the gateway or anywhere else.
  • A safety cap rejects any single payment above 100 USDC, on both chains.
  • The USDC contract address, mint, chain IDs and decimals are pinned as protocol constants, not configuration — a server cannot talk this proxy into signing a transfer of some other asset.

Dependency advisories

npm audit reports 3 moderate advisories reachable through @solana/web3.js (itself, plus jayson and uuid). 1.98.4 is the latest release and is inside the flagged range, so there is no version to move to; npm's suggested "fix" is a downgrade to 0.0.3, which is not a real option. Tracked, not resolved.

This applies to Base-only users too: @solana/web3.js is a static import in the entry module, so it loads whatever JARVISCLAW_CHAIN is set to (measured: 6 module resolutions on the Base path). Only the signer object is constructed lazily.

Building from source

bash
npm installnpm run build     # tsc → dist/npm test          # bun test — x402 signer unit tests

Links

License

MIT

来源:README.md,提交 d2690f5

工具

9

list_models

List every AI model available on JarvisClaw — GPT, Claude, Gemini, DeepSeek, and more — with the model IDs you plug straight into the chat tool. Free, and the fastest way to see what you can call.

无需输入参数。

chat

Send a chat completion to any model on JarvisClaw through one OpenAI-compatible endpoint — GPT, Claude, Gemini, DeepSeek, and more. Pass a specific model ID or use 'auto' for smart routing to the best fit. One tool, every frontier model, no per-provider setup.

输入参数model必填messages必填max_tokenstemperature

search_apis

Search every API on JarvisClaw — thousands of callable endpoints across search, blockchain, image, data, document and more, plus APIs other developers have published. Returns the exact invocation path and per-call price for each result, so you can call one directly afterwards. Free to search; you only pay when you invoke.

输入参数querycategory

get_api_detail

Get the full spec for any API returned by search_apis — pricing, method, and the exact request to send. Works for both a user-published API slug and a catalogue handle like 'federation/40'. Use this before wiring a call in.

输入参数slug必填

discover_agents

Find other AI agents registered on JarvisClaw and connect to them directly. Search by capability, category, or name to get each agent's MCP URL and API endpoints — so your agent can delegate, collaborate, or chain work with others in the network.

输入参数tagssearchcategory

aip_resolve

Find the best AI provider for a task and get ranked, priced options before you commit a cent. Pass a known intent type (chat_completion, code_execution, code_generation, data_analysis, document_processing, image_generation, knowledge_search, prompt_optimization, text_to_speech, translation, utility, video_generation, web_search) for structured routing, or a plain-language query for semantic matching. Each match returns provider, model, live per-request price, and a ready-to-call endpoint. Free to call — no payment until you execute.

输入参数intent必填featuresoptimize_formax_price_usd

aip_execute_with_budget

Run an AI task end-to-end with a hard spending cap you set. This is the primary AIP action: it resolves the best provider, runs a risk check, pre-deducts against your budget, executes the call, and settles on-chain via x402 — all in one step. You never overspend past max_total_usd, and settlement is automatic. Supports chat, image, video, speech, prompt optimization, web search, and knowledge search intents.

输入参数intent必填payload必填max_total_usdpreferred_payment

aip_list_intents

Browse every AI task type AIP can route — chat, image, video, speech, web search, knowledge search — with a short description of each. Call this first to see what's on the menu before you resolve or execute. Free.

无需输入参数。

aip_estimate_cost

Preview what a task will cost before committing — get an estimated price for an intent without running it or spending anything. Ideal for budget planning and comparing options up front. Free.

输入参数intent必填optimize_for

版本历史

1
  1. v1.1.0最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。