starknet-mcp
MCP server for Starknet. Makes the following Starknet RPC method available through MCP:
starknet_getBlockWithTxHashes
starknet_getBlockWithTxs
starknet_getBlockWithReceipts
starknet_getStateUpdate
starknet_getStorageAt
starknet_getTransactionStatus
starknet_getTransactionByHash
starknet_getTransactionByBlockIdAndIndex
starknet_getTransactionReceipt
starknet_getClass
starknet_getClassHashAt
starknet_getClassAt
starknet_getBlockTransactionCount
starknet_call
starknet_getEvents
starknet_getNonce
starknet_blockNumber
starknet_blockHashAndNumber
starknet_chainId
starknet_syncing
starknet_specVersion
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:
{
"mcpServers": {
"starknet": {
"command": "bun",
"args": ["/PATH/TO/THIS/REPO/starknet-mcp/index.ts"],
"env": {
"STARKNET_RPC_URL": "https://starknet-mainnet.public.blastapi.io/rpc/v0_7"
}
}
}
}
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.
Starknet MCP
Project Details
- milancermak/starknet-mcp
- starknet-mcp
- MIT License
- Last Updated: 3/20/2025
Categories
Recomended MCP Servers
A unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
An MCP server for OBS
An MCP server that provides LLMs with the latest stable package versions when coding
A Model Context Protocol server for Google Workspace integration (Gmail and Calendar)
A Model Context Protocol (MCP) implementation that enables Claude Desktop to interact with Azure services. This integration allows...
A Model Context Protocol (MCP) server that enables AI assistants to perform network scanning operations using NMAP
Withseismic MCP Server - Model Control Protocol, the ://WITHSEISMIC way
This MCP server provides tools for listing and retrieving content from different knowledge bases.
A Model Context Protocol server for retrieving and analyzing issues from Sentry.io
Model Context Protocol server for managing Amazon DynamoDB resources
An advanced MCP Server for accessing and analyzing clinical evidence data, with flexible search options to support precision...
Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more...





