{"id":29015498,"url":"https://github.com/chainstacklabs/rpc-nodes-mcp","last_synced_at":"2025-06-25T21:07:34.157Z","repository":{"id":295231729,"uuid":"977254919","full_name":"chainstacklabs/rpc-nodes-mcp","owner":"chainstacklabs","description":"Minimal, fast, and extensible MCP server for interactions with JSON-RPC blockchain nodes","archived":false,"fork":false,"pushed_at":"2025-06-11T21:13:00.000Z","size":210,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T22:34:47.326Z","etag":null,"topics":["blockchain","ethereum","modelcontextprotocol","pumpdotfun","solana","web3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chainstacklabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-03T19:19:10.000Z","updated_at":"2025-06-11T21:13:04.000Z","dependencies_parsed_at":"2025-05-26T10:48:53.850Z","dependency_job_id":null,"html_url":"https://github.com/chainstacklabs/rpc-nodes-mcp","commit_stats":null,"previous_names":["chainstacklabs/rpc-nodes-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chainstacklabs/rpc-nodes-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Frpc-nodes-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Frpc-nodes-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Frpc-nodes-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Frpc-nodes-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainstacklabs","download_url":"https://codeload.github.com/chainstacklabs/rpc-nodes-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Frpc-nodes-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261953213,"owners_count":23235457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","ethereum","modelcontextprotocol","pumpdotfun","solana","web3"],"created_at":"2025-06-25T21:07:33.547Z","updated_at":"2025-06-25T21:07:34.147Z","avatar_url":"https://github.com/chainstacklabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCP to access blockchain RPC nodes\n\nMinimal, fast, and extensible [MCP servers](https://modelcontextprotocol.io/introduction) for interactions with JSON-RPC blockchain nodes. Support EVM and Solana blockchains.\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/f9266d2b-2fc1-48e7-8dad-ef08ad93c07e\" alt=\"Animation\"\u003e\n\u003c/div\u003e\n\n🍒 Extra feature: a separate MCP server with tools for pump.fun bonding curve calculations and analysis.\n\n## 🚀 Quick start\n\n### 1. Clone the repository\n```bash\ngit clone https://github.com/chainstacklabs/rpc-nodes-mcp.git\ncd rpc-nodes-mcp\n```\n\n### 2. Install dependencies with [`uv`](https://docs.astral.sh/uv/getting-started/installation/)\n| Mode       | Command                                           |\n|------------|---------------------------------------------------|\n| Base       | `uv pip install -r pyproject.toml`                |\n| Dev        | `uv pip install -r pyproject.toml -e '.[dev]'`    |\n| Test       | `uv pip install -r pyproject.toml -e '.[test]'`   |\n\n### 3. Set environment variables (optional)\n\nDefault Chainstack endpoints are already provided, but if you'd like to use different ones, please add them to `.env`. The complete list of environment variables:\n\n```\nARBITRUM_RPC_URL=\nBASE_RPC_URL=\nBINANCE_SMART_CHAIN_RPC_URL=\nETHEREUM_RPC_URL=\nSONIC_RPC_URL=\n\nSOLANA_RPC_URL=\n\nOPENAI_API_KEY=\n```\n\n**Note:** `OPENAI_API_KEY` is only required for tests with `scripts/run_mcp_client_example.py`.\n\n### ▶️ Run MCP server\n```bash\nnpx @modelcontextprotocol/inspector uv run main_evm.py\n```\nFor more details, visit [Model Context Inspector](https://modelcontextprotocol.io/docs/tools/inspector).\n\n## Scripts\n\nA client example that interacts with the MCP server (requires `OPENAI_API_KEY` environment variable):\n```bash\nuv run scripts/run_mcp_client_example.py\n```\n\nTool for auto-generating MCP interfaces and implementations (_only tools currently_) based on OpenAPI spec (see [Chainstack open-source docs](https://github.com/chainstack/dev-portal/tree/main/openapi)):\n```bash\nuv run scripts/generate_mcp_tools.py scripts/openapi_specs/ethereum.json scripts/generated evm\n```\n**Note:** auto-generated tools require further improvements, see [here](https://github.com/chainstacklabs/rpc-nodes-mcp/blob/main/scripts/README.md).\n\n## Configuration\n\n### Cursor\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**EVM chains**\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![Install EVM MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=chainstack-evm-nodes\u0026config=eyJjb21tYW5kIjoidXZ4IC0tZnJvbSBnaXQraHR0cHM6Ly9naXRodWIuY29tL2NoYWluc3RhY2tsYWJzL3JwYy1ub2Rlcy1tY3AuZ2l0IG1jcC1ldm0ifQ%3D%3D)\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**Solana**\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![Install Solana MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=chainstack-solana-nodes\u0026config=eyJjb21tYW5kIjoidXZ4IC0tZnJvbSBnaXQraHR0cHM6Ly9naXRodWIuY29tL2NoYWluc3RhY2tsYWJzL3JwYy1ub2Rlcy1tY3AuZ2l0IG1jcC1zb2xhbmEifQ%3D%3D)\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;**Pump Fun**\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=chainstack-pumpfun-tools\u0026config=eyJjb21tYW5kIjoidXZ4IC0tZnJvbSBnaXQraHR0cHM6Ly9naXRodWIuY29tL2NoYWluc3RhY2tsYWJzL3JwYy1ub2Rlcy1tY3AuZ2l0IG1jcC1wdW1wZnVuIn0%3D)\n\n\n### VS Code\n\nThe `mcp.json` file contains MCP server configurations. For VS Code users, place this file in the `.vscode` folder within your project directory. GitHub Copilot in Agent Mode will automatically discover and launch the configured servers.\n\n### Claude Desktop\n\nThe `claude_desktop_config.json` file contains MCP server configurations. For Claude Desktop users, place this file in the Claude Desktop data folder. Claude Desktop will automatically discover and launch the configured servers.\n\n**uv location errors**: specify the full path to `uv` in the `mcp.json` file. To get the full path, run `where uv` command.\n\n**environment variables**: double check you created `.env` file in the MCP servers folder and required endpoints.\n\n### References\n\n- [Cursor](https://docs.cursor.com/context/model-context-protocol#model-context-protocol)\n- [VS Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)\n- [Claude Desktop](https://modelcontextprotocol.io/quickstart/user#windows)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstacklabs%2Frpc-nodes-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainstacklabs%2Frpc-nodes-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstacklabs%2Frpc-nodes-mcp/lists"}