Cambrian API

v1.12.0
io.github.cambriannetwork/cambrian-api Checked 22 hours ago Published 16 days ago

Cambrian API MCP: Solana and EVM DeFi data, Deep42 social intelligence, and perpetual risk analysis.

Values you need

VariableWhat it is
CAMBRIAN_API_KEYrequired secret Your Cambrian API key.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add cambrian-api -e 'CAMBRIAN_API_KEY=<CAMBRIAN_API_KEY>' -- npx -y cambrian-api-mcp@1.12.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cambrian-api": {
      "args": [
        "-y",
        "cambrian-api-mcp@1.12.0"
      ],
      "command": "npx",
      "env": {
        "CAMBRIAN_API_KEY": "<CAMBRIAN_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cambrian-api": {
      "args": [
        "-y",
        "cambrian-api-mcp@1.12.0"
      ],
      "command": "npx",
      "env": {
        "CAMBRIAN_API_KEY": "<CAMBRIAN_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CAMBRIAN_API_KEY",
      "id": "cambrian-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "cambrian-api": {
      "args": [
        "-y",
        "cambrian-api-mcp@1.12.0"
      ],
      "command": "npx",
      "env": {
        "CAMBRIAN_API_KEY": "${input:cambrian-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cambrian-api]
command = "npx"
args = ["-y", "cambrian-api-mcp@1.12.0"]
env = { "CAMBRIAN_API_KEY" = "<CAMBRIAN_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http cambrian-api https://mcp.cambrian.org/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "cambrian-api": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.cambrian.org/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cambrian-api": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mcp.cambrian.org/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "cambrian-api": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mcp.cambrian.org/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cambrian-api]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.cambrian.org/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: CAMBRIAN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: cambrian_docs, cambrian_solana_holder_token_balances, cambrian_solana_latest_block, cambrian_solana_meteora_dlmm_pool, cambrian_solana_meteora_dlmm_pools, cambrian_solana_ohlcv_base_quote, cambrian_solana_ohlcv_pool, cambrian_solana_ohlcv_token, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json