Skip to content

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.

Notifications You must be signed in to change notification settings

duneanalytics/sim-api-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sim API MCP Server

MCP (Model Context Protocol) server for Sim blockchain APIs, providing access to EVM and SVM transaction data, balances, and token information.

📦 This project uses pnpm as the package manager

Installation

# Clone and install
git clone https://github.com/duneanalytics/sim-api-mcp.git
cd sim-api-mcp
pnpm install

Setup

  1. Get your Sim API key from Sim API Console

  2. Set environment variable:

export SIM_API_KEY=your_api_key_here
  1. Start the server:
pnpm run start

Usage with Claude Desktop

First, start the server locally:

pnpm run start

Then add to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "sim-api": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:3000/mcp"
      ],
      "timeout": 30000,
      "reconnectDelay": 5000,
      "env": {
        "SIM_API_KEY": "YOUR_KEY"
      }
    }
  }
}

Available Tools

EVM Tools

  • getBalances - Get token balances for EVM wallet addresses
  • getEVMTransactions - Get transaction history for EVM addresses
  • getTokenPrice - Get current USD prices for EVM tokens
  • listSupportedChainsTransactions - List supported chains for transactions
  • listSupportedChainsTokenBalances - List supported chains for balances

SVM Tools

  • getSVMBalances - Get token balances for Solana wallet addresses
  • getSVMTransactions - Get transaction history for Solana addresses

Development

Note: This project uses pnpm for package management

# Clone and install
git clone <repo-url>
cd sim-api-mcp
pnpm install

# Start development server
pnpm run dev

# Run tests
pnpm test

API Reference

Server runs on port 3000 by default. MCP endpoint: http://localhost:3000/mcp with Streamable HTTP

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published