Cambrian API
MCP server by cambriannetwork Community
Connects AI assistants to Cambrian API data for Solana and EVM DeFi, Deep42 social intelligence, and perpetual risk analysis. Built for agents that need live DeFi and risk data over MCP. Requires a Cambrian API key.
Install Cambrian API
Built from the published package, never by AI.
claude mcp add cambrian-api -e CAMBRIAN_API_KEY=YOUR_CAMBRIAN_API_KEY -- npx -y cambrian-api-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"cambrian-api": {
"env": {
"CAMBRIAN_API_KEY": "YOUR_CAMBRIAN_API_KEY"
},
"args": [
"-y",
"cambrian-api-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"cambrian-api": {
"env": {
"CAMBRIAN_API_KEY": "YOUR_CAMBRIAN_API_KEY"
},
"args": [
"-y",
"cambrian-api-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"cambrian-api": {
"env": {
"CAMBRIAN_API_KEY": "YOUR_CAMBRIAN_API_KEY"
},
"args": [
"-y",
"cambrian-api-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add cambrian-api --env CAMBRIAN_API_KEY=YOUR_CAMBRIAN_API_KEY -- npx -y cambrian-api-mcp{
"mcpServers": {
"cambrian-api": {
"env": {
"CAMBRIAN_API_KEY": "YOUR_CAMBRIAN_API_KEY"
},
"args": [
"-y",
"cambrian-api-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add cambrian-api npx -y cambrian-api-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cambrian-api block.
About
Cambrian API MCP is a Model Context Protocol server for the Cambrian API. It exposes the same product surface as the cambrian CLI, covering Solana and EVM DeFi data, Deep42 social intelligence, risk tools, and API documentation. Tools are grouped into solana, evm, deep42, and risk toolsets, and the full catalog has 159 tools.
It runs locally over stdio with npx, or as a hosted Streamable HTTP server at mcp.cambrian.org. Every call needs a Cambrian API key supplied by the caller, and the server does not ship or proxy a shared key. Three profiles (progressive, compact, and full) control how tool definitions are loaded. The cambrian_docs tool reads live endpoint and guide docs from docs.cambrian.org. It suits developers and agents that need live DeFi, social, and risk data.
Written from the project's README and checked against it.
Tools it gives your assistant
cambrian_base_dexesLists DEX data for Base, with chain_id fixed to 8453.cambrian_solana_price_currentReturns current price data for Solana tokens.cambrian_solana_token_snapshotComposite workflow tool that builds a Solana token snapshot.cambrian_deep42_social_data_alpha_tweet_detectionDeep42 social intelligence endpoint for alpha tweet detection.cambrian_risk_perp_risk_enginePerpetual risk analysis through the risk engine endpoint.cambrian_docsReads live endpoint and guide docs from the Cambrian docs index.cambrian_callGeneric call tool in the compact profile for Cambrian API endpoints.
What you need
- Cambrian API key from console.cambrian.org
- Node.js and npm to run the npx or global package
- An MCP client such as Claude or Codex
| Setting | Needed | What it is |
|---|---|---|
CAMBRIAN_Environment variable, secret | Required | Your Cambrian API key. |
AuthorizationHeader, secret | Required | Bearer token in the form: Bearer <CAMBRIAN_API_KEY> |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Show the current price of a Solana token using Cambrian data
- Run a perpetual risk analysis with the Cambrian risk engine
- Find recent DEX activity on Base with Cambrian tools
Good to know
- Every call needs a caller-supplied Cambrian API key.
- The full catalog has 159 tools, which can load a large tool list.
- MCP transport requires a key even when using x402 pay-per-call access.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Cambrian API
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
Cambrian API: common questions
Do I need an API key to use Cambrian API MCP?
Yes. Every call needs a Cambrian API key supplied by the caller, and the server never ships or proxies a shared key. Keys are created at console.cambrian.org.
Can I use it without an API key?
The source says x402 pay-per-call access is available through cambrian pay --help. MCP transport still requires a caller-supplied key.
How do I load only some of the tools?
Use the --toolsets option, for example --toolsets solana,risk. Over HTTP, pass a toolsets query parameter on the endpoint URL.
How do I install Cambrian API?
In Claude Code run claude mcp add cambrian-api -e CAMBRIAN_API_KEY=YOUR_CAMBRIAN_API_KEY -- npx -y cambrian-api-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Cambrian API the official server?
Cambrian API is a community project by cambriannetwork, not verified by a company domain.
Is Cambrian API free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Cambrian API safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Cambrian API?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does Cambrian API work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
