Skip to content
ChainFoundry

AI Agents

MCP server for multichain blockchain data

Give your AI agents decoded blockchain data from 500+ networks via MCP. Self-hosted, no API keys. Works with Claude, Cursor, ElizaOS, LangChain.

The scenario

You're building an AI agent that trades on DeFi protocols, monitors wallets, or manages portfolios across multiple chains. Your agent needs to:

  • Read decoded events from Uniswap on Ethereum AND Raydium on Solana
  • Check balances across EVM, Solana, and Cosmos chains
  • Decode transaction errors when trades fail
  • Track bridge transfers as assets move between chains

The problem today

Moralis / Alchemy APIs
You pay per request, hit rate limits, and are locked to their uptime. If their API goes down, your agent goes blind.
Build it yourself
You'd need to integrate Alloy (EVM only), anchor-client (Solana only), cosmrs (Cosmos only) — three separate libraries, three codebases, three maintenance burdens.
No MCP server exists
Claude Desktop, Cursor, and other AI tools can't natively query blockchain data from multiple chains.

How ChainFoundry solves it

python
class="tok-c"># Install the MCP server
pip install chainfoundry-mcp

class="tok-c"># Your AI agent can now call:
class="tok-c"># - decode_event(chain=class="tok-s">"ethereum", tx_hash=class="tok-s">"0x...")
class="tok-c"># - decode_event(chain=class="tok-s">"solana", tx_hash=class="tok-s">"...")
class="tok-c"># - get_balance(chain=class="tok-s">"cosmos", address=class="tok-s">"cosmos1...")
class="tok-c"># - correlate_bridge(source=class="tok-s">"ethereum", dest=class="tok-s">"solana", tx_hash=class="tok-s">"0x...")

class="tok-c"># All from one MCP server. Self-hosted. No API keys.

What changes for you

  • One dependency instead of 3+ chain-specific libraries
  • Self-hosted — runs in your infra, no API costs, no rate limits
  • Works with any AI framework — Claude MCP, ElizaOS, LangChain, CrewAI
  • Decoded data, not raw bytes — your agent gets structured JSON, not hex blobs

Who this is for

  • AI agent startups building trading bots, portfolio managers, or wallet assistants
  • Teams using Claude Desktop or Cursor who want blockchain data in their workflow
  • DeFi protocol teams building automated monitoring agents