Alchemy MCP Server
A Model Context Protocol (MCP) server that enables AI agents to interact with Alchemy's blockchain APIs in a structured way. This allows agents to query blockchain data directly without writing any code.
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):
{ "mcpServers": { "alchemy": { "command": "npx", "args": [ "-y", "@alchemy/mcp-server" ], "env": { "ALCHEMY_API_KEY": "YOUR_API_KEY" } } } }
This configuration allows you to use the server without manually cloning the repository.
You can prompt your AI agent to use the following methods:
fetchTokenPriceBySymbol
fetchTokenPriceByAddress
fetchTokenPriceHistoryBySymbol
fetchMultichainWalletAddressTransactionHistory
fetchTransfers
fetchNftsOwnedByMultichainAddresses
fetchNftContractDataByMultichainAddress
git clone https://github.com/alchemyplatform/alchemy-mcp.git cd alchemy-mcp
pnpm install
pnpm dev
pnpm build pnpm start
The MCP Inspector helps you debug your MCP server by providing a visual interface to test your methods:
pnpm inspector
This will start the MCP Inspector which you can access in your browser. It allows you to:
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
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:
What's the current price of Bitcoin and Ethereum?
Show me the NFTs owned by the wallet 0x1234...5678 on Ethereum.
What tokens does wallet 0xabcd...6789 hold across Ethereum and Base?
Get me the transaction history for 0x9876...5432 from the last week.
Show me the price history of Ethereum from January 1st to today with daily intervals.
For more information about Alchemy's APIs, refer to:
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!