@bridgenode/mcp
OfficialBridgeNode MCP lets AI agents run paid AI model inference without API keys, using automatic Solana USDC payments via x402.
chat_completions — send chat requests to any supported model (free models free; paid models get 2 free trial calls per client, then x402 payment is auto-signed and retried). Supports mode routing (auto/eco/premium) or explicit model id, max_tokens, and OpenAI-style tools/tool_choice.
list_models — free, read-only catalog of available models with per-token prices and context windows.
get_price_estimate — free, read-only estimate of USDC cost for a chat request before paying (model/mode, messages, max_tokens).
Spending policy controls — optional BRIDGENODE_WALLET_KEY enables paid calls, with per-call and daily caps enforced fail-closed before signing payment.
Automatically pays for BridgeNode chat-completion requests using Solana USDC through the x402 protocol, signing the payment with a configured wallet and enforcing per-call and daily spending limits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@bridgenode/mcp Write a Python function to check if a number is prime"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@bridgenode/mcp
Built for AI agents — no API keys, no registration, pay-as-you-go with Solana USDC via x402. Start free: free models and 2 free calls on paid models per client, no wallet required.
BridgeNode MCP wrapper — stdio MCP server that proxies requests to the remote
https://bridgenode.cc/mcp (streamable-HTTP) with automatic x402 payment
(Solana USDC). No API keys, no registration.
Installation (one-command)
claude mcp add bridgenode -s user -- npx -y @bridgenode/mcp@latestOr manually (Claude Code, Cursor, other MCP clients):
{
"mcpServers": {
"bridgenode": {
"command": "npx",
"args": ["-y", "@bridgenode/mcp@latest"]
}
}
}Related MCP server: @hpp-io/x402-mcp-bridge
Configuration (.env)
# Solana wallet private key (base58) — agent's payment wallet
# Optional — Solana wallet private key (base58). Needed only for PAID calls:
# free models and the 2 free trials work without it.
BRIDGENODE_WALLET_KEY=
# Spending policy (fail-closed)
BRIDGENODE_MAX_PER_CALL=0.05
BRIDGENODE_DAILY_CAP=1.0Tools
chat_completions— AI inference (free models run without payment; the first 2 calls to a PAID model are free per client, then x402 payment is automatic). Accepts OpenAI-styletools/tool_choice— the model's answer then carriestool_calls(the wrapper passes arguments through unchanged)list_models— model list (free)get_price_estimate— estimate cost of a chat request (free)
How it works
Local MCP client launches the wrapper via stdio
Wrapper connects to
https://bridgenode.cc/mcp(streamable HTTP)On
tools/callreceiving 402 (payment required) — the wrapper automatically signs the payment withBRIDGENODE_WALLET_KEYand retries the requestSpending policy checks every payment BEFORE signing (fail-closed)
Links
Website: https://bridgenode.cc
Protocol: x402 V2 (docs.x402.org)
Python packages
Prefer Python? The same BridgeNode toolkit is on PyPI:
Python SDK:
pip install bridgenode-llm→ https://pypi.org/project/bridgenode-llmCLI:
pip install bridgenode-cli→ https://pypi.org/project/bridgenode-cliFull toolkit (SDK + CLI):
pip install bridgenode→ https://pypi.org/project/bridgenode
Community
Moltbook agent profile: https://moltbook.com/u/bridgenode_eli
Discord: https://discord.gg/HUpVKxJxhG
X (Twitter): https://x.com/eliBNx
⭐ Star this repo — it helps AI agents discover BridgeNode.
Available Tools
3 toolschat_completionsChat completions with x402 paymentAInspect
Send a chat completion request to any supported model. Free models are served without payment; the first calls to a PAID model are also free per client (free trials), after which x402 payment (Solana USDC) is required — an unpaid call returns 402 with the exact price; retry with _meta["x402/payment"]. Responses are non-streaming. Pass either mode (auto/eco/premium) or model (explicit id) — one of the two is required; model wins if both are sent. Use this tool to generate text; inspect models and prices first with the free list_models tool. Start with a FREE model (no payment at all) and keep max_tokens >= 200 — a thinking model spends part of that budget on reasoning, so a smaller limit can return an empty answer.
Inputs: messages (required), mode, model, tools, +2 more. Returns: id, model, usage, object, +2 more
get_price_estimateEstimate the cost of a chat requestARead-onlyIdempotentInspect
Estimate the USDC cost of a chat completion request before paying — free, no payment, no authentication required. Read-only: no state changes and no external calls; the estimate is computed locally from server pricing config, so repeated calls with identical inputs return identical results (idempotent). Use this tool to check the exact price for a given model/mode, messages, and max_tokens before calling the paid chat_completions tool. Provide either mode (auto/eco/premium routing) or model (explicit id, mutually exclusive with mode); one of the two is required — if both are sent, model wins. mode values: auto = cheapest model fitting the context, eco = cheapest available, premium = best model.
Inputs: messages (required), mode, model, max_tokens. Returns: model, amount_usdc, input_tokens, amount_atomic, +1 more
list_modelsList available models and pricesARead-onlyIdempotentInspect
List available models and their prices — free, no payment, no authentication required. Read-only: no state changes; data is served from the server's local config, so repeated calls return identical results (idempotent). Accepts no parameters: the input schema is an empty object, and any arguments passed are ignored. Calling it without arguments returns the complete catalog with per-token prices; there is no filtering, pagination, or configuration. Use this tool to inspect models and prices before calling the paid chat_completions tool. Same data as GET /v1/models (§5.2). Do not use it to generate text (use chat_completions) or to estimate a specific request's cost (use get_price_estimate).
Inputs: no named parameters. Returns: data, object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct role: list_models returns the catalog, get_price_estimate prices a specific request, and chat_completions performs inference. The descriptions explicitly cross-reference each other ('use chat_completions', 'use get_price_estimate'), eliminating any realistic misselection.
get_price_estimate and list_models follow a clean verb_noun pattern, but chat_completions is a bare noun naming a resource/action endpoint. The deviation is minor and the naming remains predictable and readable.
Three tools is lean but plausibly matches the narrow gateway scope: inspect models, estimate cost, generate text. It sits at the low edge of the ideal range, with little redundancy, though it leaves almost no room for ancillary operations.
The core pay-per-request lifecycle (discover models, price a request, execute) is fully covered, including the 402 payment retry flow. Minor gaps exist: no streaming option, no balance/usage or payment-status tool, and no embeddings or other model modalities.
Maintenance
Related MCP Connectors
Machine-payable API infrastructure for autonomous agents. Per-call x402 settlement in USDC.
Let an AI agent find and pay for x402 APIs and products in USDC on Base, within owner-set limits.
Pay-per-call tools for AI agents: Solana, DEX, perps, prediction markets, DeFi, web. USDC via x402.
x402 pay-per-call Solana data + crypto market + JWT/unit utils for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.MIT

@hpp-io/x402-mcp-bridgeofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to autonomously pay for and discover services using HPP USDC.e over the x402 protocol, without API keys or manual signing.421 npmApache 2.0- AlicenseAqualityBmaintenanceEnables AI agents to discover and pay for x402-gated HTTP APIs, handling 402 Payment Required flows with local signing. Supports EVM and Solana with non-custodial wallet management.3327 npmMIT
- AlicenseAqualityDmaintenanceEnables AI agents to access Solana wallet analytics, token data, and DeFi tools via pay-per-request USDC micropayments using the x402 protocol, without API keys or subscriptions.1369 npmMIT