sim-api
Sim API MCP (Model Context Protocol) Tools to power wallets and onchain apps with fast, reliable access to real-time blockchain activity and ownership data. Access data from 60+ chains with a single request.
claude mcp add --transport stdio duneanalytics-sim-api-mcp npx mcp-remote http://localhost:3000/mcp \ --env SIM_API_KEY="YOUR_KEY"
How to use
This MCP server exposes Sim blockchain APIs for both EVM (Ethereum-compatible) and SVM (Solana) data via an MCP endpoint. When running, the server listens on port 3000 and exposes the MCP endpoint at /mcp, which can be consumed by clients or integrated into Claude Desktop or other MCP-enabled tools. The EVM tools include getBalances for token balances, getEVMTransactions for transaction history, getTokenPrice for USD pricing, and methods to list supported chains for both transactions and token balances. The SVM tools provide getSVMBalances for Solana wallet balances and getSVMTransactions for Solana transaction history. To use, you run the server locally, obtain an API key for the Sim API, and configure your MCP client to point to the local endpoint (http://localhost:3000/mcp) with the appropriate environment variable (SIM_API_KEY) set for authentication.
How to install
Prerequisites:
- Node.js and npm or pnpm installed
- Access to the internet to install dependencies
Steps:
- Clone the repository and install dependencies
git clone https://github.com/duneanalytics/sim-api-mcp.git
cd sim-api-mcp
pnpm install
- Obtain a Sim API key:
- Get your API key from the Sim API Console (https://sim.dune.com).
- Configure environment and start the server:
# Set your API key (use your actual key in place of YOUR_KEY)
export SIM_API_KEY=YOUR_KEY
# Start the MCP server
pnpm run start
- Verify the server is running on port 3000 and the MCP endpoint is available at http://localhost:3000/mcp
Additional notes: The repository uses pnpm as the package manager, so ensure pnpm is installed and available in your environment.
Additional notes
Tips and notes:
- The MCP endpoint runs by default on port 3000; if you need to change it, modify the server configuration in the project startup script.
- Always secure your SIM_API_KEY; do not commit it to version control.
- When integrating with Claude Desktop or other MCP clients, you can reuse the same mcp-remote configuration pattern shown in the README, pointing at http://localhost:3000/mcp.
- If you encounter connectivity issues, verify that SIM_API_KEY is correctly exported in the environment where the MCP client runs, and ensure the server process has network access to the Sin API services.
- The available tools include EVM and SVM operations as listed in the README; you can extend or customize tool access as needed by adjusting the underlying MCP remote configuration.
Related MCP Servers
apify
The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
mcp
Enable AI agents to work reliably - giving them secure access to structured data, tools to take action, and the context needed to make smart decisions.
sudocode
Lightweight agent orchestration dev tool that lives in your repo
web2mcp
Generate an MCP for any web app
cursor-background-agent-api
Use Cursor Background Agents as an API or MCP Server
cco
Real-time audit and approval system for Claude Code tool calls.