The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Alchemy MCP Server listing page.
This open-source Model Context Protocol (MCP) server runs Alchemy's blockchain APIs locally via STDIO. New users should use the hosted Alchemy MCP Server instead.
The fastest way to get started is to connect to the hosted remote server at https://mcp.alchemy.com/mcp. It authenticates via OAuth — just sign in with your Alchemy account when prompted. No API key or local install required.
Full documentation: alchemy.com/docs/alchemy-mcp-server
Legacy notice: The hosted Alchemy MCP Server at
https://mcp.alchemy.com/mcpis the recommended and actively maintained MCP server. This repository contains the legacy local STDIO server, is not actively maintained, and may lag behind the hosted server's tool coverage and behavior. Alchemy plans to sunset this repository; new users should connect to the hosted server instead.
| Client | Setup |
|---|---|
| Claude Code | claude mcp add alchemy --transport http https://mcp.alchemy.com/mcp |
| Codex | codex mcp add alchemy --url https://mcp.alchemy.com/mcp |
| Cursor | Add to ~/.cursor/mcp.json or .cursor/mcp.json — see JSON config below |
| Windsurf | Add to ~/.codeium/windsurf/mcp_config.json — see JSON config below |
| VS Code Copilot | Add to .vscode/mcp.json — see JSON config below |
| Claude Desktop | Add to claude_desktop_config.json — see JSON config below |
| Cline | Open Cline: MCP Servers from the VS Code command palette — see JSON config below |
For any other MCP-compatible client, point it at https://mcp.alchemy.com/mcp using Streamable HTTP transport.
Legacy: This section documents the open-source local STDIO server. It is not actively maintained. Use the hosted server unless you specifically need the
@alchemy/mcp-servernpm package or local development workflow.
This MCP server creates a bridge between AI agents and Alchemy's blockchain APIs, allowing agents to:
To quickly set up the MCP server, use the following configuration in your MCP config file (typically in Claude Desktop or Cursor settings):
This configuration allows you to use the server without manually cloning the repository.
The MCP server requires the following environment variable:
ALCHEMY_API_KEY - Your Alchemy API key (required for all blockchain data queries)For transaction and swap functionality, you must also configure:
AGENT_WALLET_SERVER - URL of a configured wallet agent server that handles Smart Contract Account operations⚠️ Important: The sendTransaction and swap methods will not function without a properly configured wallet agent server. These methods require external wallet infrastructure to handle signing and broadcasting transactions.
You can prompt your AI agent to use the following methods:
fetchTokenPriceBySymbol
fetchTokenPriceByAddress
fetchTokenPriceHistoryBySymbol
fetchTokenPriceHistoryByTimeFrame
fetchAddressTransactionHistory
fetchTransfers
fetchNftsOwnedByMultichainAddresses
fetchNftContractDataByMultichainAddress
AGENT_WALLET_SERVER environment variableAGENT_WALLET_SERVER environment variableThis repository remains available for reference and migration, but is not actively maintained. For new features and the latest tool coverage, use the hosted Alchemy MCP Server.
The MCP Inspector helps you debug your MCP server by providing a visual interface to test your methods:
This will start the MCP Inspector which you can access in your browser. It allows you to:
This repository is not actively maintained. Pull requests for security fixes or migration-related improvements may be considered, but new features should target the hosted server instead. For major changes, please open an issue first.
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.
Here are some example prompts you can use with your AI agent:
For more information about Alchemy's APIs, refer to: