The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the JarvisClaw — AI Gateway & API Marketplace listing page.
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:
chat tool, or auto to let the router pick.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.
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.
Claude Desktop / Cursor, Base wallet:
Solana wallet:
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.
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.
| Variable | Required | Default | Description |
|---|---|---|---|
JARVISCLAW_WALLET_KEY | for paid tools | — | Base private key (0x… hex) or Solana secret key (base58). Used only for local signing. |
JARVISCLAW_CHAIN | no | base | base or solana. Which option to sign when the server offers both. |
JARVISCLAW_MCP_URL | no | https://api.jarvisclaw.ai/mcp | Remote MCP endpoint. |
JARVISCLAW_SOLANA_RPC | no | public mainnet RPC | Custom Solana RPC (recommended — the public one is rate-limited). |
JARVISCLAW_API_KEY | no | — | Optional API key sent as Authorization: Bearer. Free tools need no credential. |
| Tool | What it does | Billed |
|---|---|---|
list_models | Every model available, with the IDs to pass to chat | free |
search_apis | Search the 2,720-endpoint marketplace; each hit carries its path and price | free |
aip_list_intents | Browse the intent types AIP can route | free |
aip_estimate_cost | Price an intent before committing to it | free |
chat | Any model, OpenAI-compatible | paid |
get_api_detail | Full spec for a marketplace API: pricing, method, exact request | paid |
discover_agents | Find other agents registered on the gateway | paid |
aip_resolve | Rank providers for an intent, priced, before you spend | paid |
aip_execute_with_budget | Run a task end to end under a spending cap you set | paid |
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.
| Method | Header | When |
|---|---|---|
| x402 USDC | PAYMENT-SIGNATURE | No account. Wallet settles on Base or Solana. |
| API key | Authorization: Bearer sk-… | Pre-paid account. |
A paid tool called without either does not fail — it answers with an x402 quote:
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.
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.
MIT