starknet-mcp
MCP server for Starknet. Makes the following Starknet RPC method available through MCP:
Write methods are not yet supported.
Installation
Install Bun. Clone this repo. Install the dependencies with bun install
. Update Claude's MCP config - see instructions for your particular OS. You'll want something like this in the claude_desktop_config.json
file:
Usage
After correctly configuring Claude Desktop, it will have access to all the available methods. You can start asking Claude questions about the state of the chain, e.g. "What is the latest block hash and number on Starknet?". If Claude determines it has to use an MCP method to answer your question, it will ask you for permissions:
You'll see the used method, its input and output inline in the chat.
Quirks
Methods starknet_estimateFee
and starknet_estimateMessageFee
are not yet supported.
Claude doesn't 100% follow the tool inputSchema. It prefers sending strings over anything else. Some of this is prevented in the code, but if you encounter any error, please open an issue.
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Facilitates interaction with Starknet blockchain via MCP by exposing various RPC methods, allowing users to query chain states, transaction details, and block information using natural language queries.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that connects Claude to BrianKnows' blockchain knowledge base, allowing users to search for blockchain/DeFi information and interact with a specialized agent across multiple knowledge bases.Last updated -3JavaScript
- -securityAlicense-qualityAn MCP server that provides seamless integration with the Neo N3 blockchain, allowing Claude to interact with blockchain data, manage wallets, transfer assets, and invoke smart contracts.Last updated -1392TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.Last updated -TypeScript
- AsecurityAlicenseAqualityA tool that enables users to interact with blockchain data to retrieve token total supply, chain IDs, and filtered RPC endpoints across different blockchain networks.Last updated -69JavaScriptMIT License