circuit-mcp
OfficialProvides tools for querying real-time Solana blockchain data, including token prices, security audits, trending tokens, and agent swarm intelligence signals, with automatic micropayments in CIRC tokens.
Click on "Install 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., "@circuit-mcpwhat's the swarm's consensus on this mint?"
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.
circuit-mcp
Give any AI agent Circuit's real-time Solana data and agent-swarm intelligence as tools — auto-paid per call in CIRC over x402. No API keys, no signup. Add it to Claude Desktop, Claude Code, or any agent runtime with one line.
Website · Data API · Circuit SDK · Telegram · X / Twitter
Beta software. circuit-mcp is under active development — expect breaking changes, incomplete features, and rough edges. Paid tools spend real CIRC per call; start with the free tools (or a small spend cap) until you're comfortable with how it behaves.
What it does
A thin Model Context Protocol server over @circuit-llm/data. It exposes Circuit's real-time Solana data as tools any MCP client can call — and auto-pays for them per call in CIRC over x402. Free tools return data directly; paid tools are auto-paid from your wallet, bounded per call and per session. No API keys, no accounts.
The differentiator is the swarm_* tools: live buy/sell/rug signals from Circuit's running trading-agent fleet — data no generic price API has.
Related MCP server: @1ly/mcp-server
Quick Start
Add it to any MCP client (Claude Desktop, Claude Code, an agent runtime):
// claude_desktop_config.json → "mcpServers"
{ "circuit": { "command": "npx", "args": ["-y", "@circuit-llm/mcp"],
"env": { "CIRCUIT_WALLET": "<base58 secret funded with CIRC>" } } } // omit → free tools onlyThen ask your agent "what's the swarm's consensus on this mint?" or "audit this token for rug risk." The paid tools settle on Solana in ~400ms behind the scenes. Without CIRCUIT_WALLET, the free tools still work.
Tools
Tool | Cost | What |
| free | live price list for every tool |
| free | aggregated USD price (Jupiter + DexScreener + CoinGecko) |
| free | sub-second batch prices (≤20 mints) from the gRPC indexer |
| free | on-chain dip-reversal scanner |
| ~$0.002 | live buy/sell/rug signals from the Circuit agent swarm |
| ~$0.002 | reputation-weighted swarm view on one token |
| ~$0.003 | rug-risk audit — authorities, LP lock, risk flags |
| ~$0.003 | price + metadata + security + pools in one call |
| ~$0.002 | trending tokens across sources |
| ~$0.005 | holder count + top-5/10/20 concentration |
Prices are live from circuit_quote (/api/quote); a few endpoints are currently ungated (free).
Configuration
All configuration is via environment variables.
Variable | Default | Purpose |
| — | base58 secret key that funds micropayments (omit → free tools only) |
|
| per-call CIRC spend cap |
|
| per-process CIRC cap — the runaway-spend guard; paid tools stop once reached |
|
| outer per-tool-call backstop (a genuinely stuck call returns a clean error) |
| — | if set, only ever pay this address (recipient allow-list — recommended) |
|
| override the data API base |
| public RPC | Solana RPC used to send payments — set your own; the public default rate-limits |
Safety
Spend is bounded two ways —
CIRCUIT_MCP_MAX_SPEND_CIRCper call andCIRCUIT_MCP_MAX_TOTAL_CIRCper process (the drain guard against a looping agent). SetCIRCUIT_TREASURYto pin the payee so a hostile endpoint can't redirect funds.Read-only — every tool is a data fetch; none move funds beyond the micropayment.
No bypass — this package always pays per call; the internal-key bypass is a Circuit-hosted concern, never a user knob (see docs/HOSTING.md).
Protocol-safe — all logs go to stderr; stdout is reserved for the MCP channel.
How it works
Each paid tool call hits the Circuit Data API: a free endpoint returns data; a paid one answers 402 Payment Required with a CIRC quote. @circuit-llm/data pays the quote from your wallet on Solana and retries — the spend caps and CIRCUIT_TREASURY allow-list bound where and how much. For a hosted deployment (Circuit fronts payment so agents need no wallet), see docs/HOSTING.md.
Develop
git clone https://github.com/Circuit-LLM/MCP && cd MCP
npm install
npm run smoke # spawn the server via a real MCP client, list tools, exercise the free tools (no spend)
npm start # run the server over stdioBuilt on @circuit-llm/data + @circuit-llm/wallet + the MCP TypeScript SDK.
Part of the Circuit Stack
circuit-mcp — this repo, Circuit data + swarm intel as x402-paid MCP tools
circuit-sdk — the TypeScript SDK (x402 · data · wallet · agent · inference)
circuit-data-api — the x402-gated Solana data aggregator these tools serve
circuit-agent — the autonomous trading agent behind
swarm_feedcircuitllm.xyz — website and data terminal
License
MIT — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Circuit-LLM/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server