freshcrate
Skin:/
Home > MCP Servers > alchemy-mcp-server

alchemy-mcp-server

Alchemy's official MCP Server. Allow AI agents to interact with Alchemy's blockchain APIs.

Why this rank:Strong adoptionHealthy release cadenceRelease freshness

Description

Alchemy's official MCP Server. Allow AI agents to interact with Alchemy's blockchain APIs.

README

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.

Alchemy Server MCP server

Remote MCP Server (Recommended)

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

Note: The hosted server at mcp.alchemy.com and this open-source repo are maintained separately and may not be in sync.

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
JSON config for Cursor / Windsurf / Claude Desktop / Cline
{
  "mcpServers": {
    "alchemy": {
      "type": "streamable-http",
      "url": "https://mcp.alchemy.com/mcp"
    }
  }
}
JSON config for VS Code Copilot
{
  "servers": {
    "alchemy": {
      "type": "http",
      "url": "https://mcp.alchemy.com/mcp"
    }
  }
}

For any other MCP-compatible client, point it at https://mcp.alchemy.com/mcp using Streamable HTTP transport.

Local STDIO Server

This MCP server creates a bridge between AI agents and Alchemy's blockchain APIs, allowing agents to:

  • Query token prices and price history (including flexible time frame queries)
  • Get NFT ownership information and contract data
  • View transaction history across multiple networks
  • Check token balances across multiple blockchain networks
  • Retrieve detailed asset transfers with filtering
  • Send transactions via Smart Contract Accounts (requires configured wallet agent server)
  • Execute token swaps via DEX protocols (requires configured wallet agent server)
  • And more!

Quick Setup

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.

Environment Variables

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.

Available Methods

You can prompt your AI agent to use the following methods:

Token Price Methods

  1. fetchTokenPriceBySymbol

    • Gets current price data for tokens by symbol
    • Example: "What's the current price of ETH and BTC?"
  2. fetchTokenPriceByAddress

    • Gets current price data for tokens by contract address
    • Example: "What's the price of the token at address 0x1234...5678 on Ethereum mainnet?"
  3. fetchTokenPriceHistoryBySymbol

    • Gets historical price data for tokens with specific date ranges
    • Example: "Show me BTC price history from Jan 1 to Feb 1, 2023, with daily intervals"
  4. fetchTokenPriceHistoryByTimeFrame

    • Gets historical price data using flexible time frames or natural language
    • Example: "Show me ETH price for the last week" or "Get BTC price for the past 30 days"

Multichain Token Methods

  1. fetchTokensOwnedByMultichainAddresses
    • Gets token balances for addresses across multiple networks
    • Example: "What tokens does 0xabc...123 hold on Ethereum and Base?"

Transaction History Methods

  1. fetchAddressTransactionHistory

    • Gets transaction history for addresses across multiple networks
    • Example: "Show recent transactions for wallet 0xdef...456 on Ethereum"
  2. fetchTransfers

    • Gets detailed asset transfer data with advanced filtering options
    • Example: "Show me all ERC-20 transfers to or from 0xghi...789"

NFT Methods

  1. fetchNftsOwnedByMultichainAddresses

    • Gets all NFTs owned by addresses with spam filtering
    • Example: "What NFTs does 0xjkl...012 own?"
  2. fetchNftContractDataByMultichainAddress

    • Gets NFT contract data for addresses
    • Example: "What NFT collections does 0xmno...345 have tokens from?"

Transaction Methods

  1. sendTransaction
    • Sends transactions via Smart Contract Accounts
    • âš ī¸ Important: Requires a configured wallet agent server with AGENT_WALLET_SERVER environment variable
    • Example: "Send 0.1 ETH to 0xpqr...678"

Swap Methods

  1. swap
    • Executes token swaps via DEX protocols (Uniswap)
    • âš ī¸ Important: Requires a configured wallet agent server with AGENT_WALLET_SERVER environment variable
    • Example: "Swap 100 USDC for ETH"

Local Development and Open Source Contributions

Installation

  1. Clone the repository
git clone https://github.com/alchemyplatform/alchemy-mcp.git
cd alchemy-mcp
  1. Install dependencies
pnpm install

Development

pnpm watch

Building for Production

pnpm build

Using the MCP Inspector for Debugging

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:

  • See all available methods
  • Test methods with different parameters
  • View the response data
  • Debug issues with your MCP server

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

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.

Example Prompts

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.

Show me the price history of Ethereum from January 1st to today with daily intervals.

Get me Bitcoin price data for the last week with hourly intervals.

Show me ETH price performance for the past month.

What ERC-20 transfers happened to address 0x1234...5678 in the last 100 blocks?

API Reference

For more information about Alchemy's APIs, refer to:

Release History

VersionChangesUrgencyDate
v0.3.0 ### Minor Changes - [#38](https://github.com/alchemyplatform/alchemy-mcp-server/pull/38) [`604cc70`](https://github.com/alchemyplatform/alchemy-mcp-server/commit/604cc701ed11e9889871f1f70ec4318764334d40) Thanks [@lohnim](https://github.com/lohnim)! - Add tool descriptions to all 97 tools and server instructions for improved agent discoverabilityMedium3/26/2026
v0.2.2 ### Patch Changes - [#37](https://github.com/alchemyplatform/alchemy-mcp-server/pull/37) [`0db64bb`](https://github.com/alchemyplatform/alchemy-mcp-server/commit/0db64bb9e84cb9163177dd42cdc7e8dfa1750e65) Thanks [@CodesMcCabe](https://github.com/CodesMcCabe)! - testingLow3/20/2026
v0.2.0-rc.0Pre-release for enabling agent wallets and sending transactions. Low8/7/2025
v0.1.5## What's Changed * Added additional date parsing on prompts by @CodesMcCabe in https://github.com/alchemyplatform/alchemy-mcp-server/pull/9 **Full Changelog**: https://github.com/alchemyplatform/alchemy-mcp-server/compare/v0.1.4...v0.1.5Low4/22/2025
v0.1.3Release v0.1.3Low4/17/2025
v0.1.4Main work done for this release was enabling the @alchemy/mcp-server package installation through AI client configurations. **Full Changelog**: https://github.com/alchemyplatform/alchemy-mcp-server/compare/v0.1.3...v0.1.4Low4/17/2025
v0.1.2**Full Changelog**: https://github.com/alchemyplatform/alchemy-mcp-server/compare/v0.1.1...v0.1.2Low4/17/2025
v0.1.1**Full Changelog**: https://github.com/alchemyplatform/alchemy-mcp-server/compare/v0.1.0...v0.1.1Low4/17/2025
v0.1.0## What's Changed * feat: add prices api by @CodesMcCabe in https://github.com/alchemyplatform/alchemy-mcp-server/pull/1 * feat: add multichain tokens by wallet by @CodesMcCabe in https://github.com/alchemyplatform/alchemy-mcp-server/pull/2 * feat: add Token Balances by Wallet by @CodesMcCabe in https://github.com/alchemyplatform/alchemy-mcp-server/pull/3 * chore: remove Token Balances by wallet by @CodesMcCabe in https://github.com/alchemyplatform/alchemy-mcp-server/pull/4 * feat: add tranLow4/17/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

Cogitator-AI🤖 Kubernetes for AI Agents. Self-hosted, production-grade runtime for orchestrating LLM swarms and autonomous agents. TypeScript-native.main@2026-07-26
agentroveYour own Claude Code UI, sandbox, in-browser VS Code, terminal, multi-provider support (Anthropic, OpenAI, GitHub Copilot, OpenRouter), custom skills, and MCP servers.v0.1.56
agent-identity-discoveryAgent Interface Discovery main@2026-07-25
codegA unified workspace for local AI coding agents (Claude Code, Codex, Gemini CLI, etc.) — desktop app, standalone server, or Docker. Conversation aggregation, git worktree workflows, MCP/Skills managemev0.21.8
pipaliResearch, create, automate. Work so fast it feels like play. Get an ai co-worker on your machine. It can read-write files, code safely in sandbox, use your browser. Customize it with skills. Integrate0.7.0

More in MCP Servers

supersetCode Editor for the AI Agents Era - Run an army of Claude Code, Codex, etc. on your machine
kreuzbergA polyglot document intelligence framework with a Rust core. Extract text, metadata, images, and structured information from PDFs, Office documents, images, and 91+ formats. Available for Rust, Python
ai-engineering-from-scratchLearn it. Build it. Ship it for others.
CodeGraphContextAn MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.