Alchemy MCP
Use the hosted Alchemy MCP server for live blockchain data, transaction simulation, tracing, NFT/portfolio queries, and Alchemy app administration from inside your AI client.
When to use this skill
Use
when
all of the following are true:
- The user wants live agent work — live querying, analysis, admin work, or on-machine automation that the agent runs now in this session
- An MCP-compatible client (Claude Code, Codex, Cursor, Claude Desktop, VS Code Copilot, etc.) is already wired against
https://mcp.alchemy.com/mcp
, OR the user is willing to add it
- The Alchemy CLI () is not installed locally
If the CLI is installed locally — or if both CLI and MCP are available — prefer the
skill instead. The CLI is the preferred local fallback runtime path.
When to use a different skill
| Situation | Use this skill instead |
|---|
| is installed locally, or both CLI and MCP are available | |
| Neither CLI nor MCP is available | install (), then use |
| Building application code that runs outside this agent session, with an Alchemy API key | |
| Building application code without an API key, or as an autonomous agent that needs to pay for itself, or you explicitly want x402/MPP | |
Do not use this skill to write production application code — MCP tools are for live agent work, not for embedding into shipped software.
Connect your client
The server runs at
https://mcp.alchemy.com/mcp
and authenticates via OAuth — your client opens a browser to sign in with your Alchemy account on first use. No API key or local install required.
Claude Code
bash
claude mcp add alchemy --transport http https://mcp.alchemy.com/mcp
Restart Claude Code, then run
and select
to authenticate.
Codex
bash
codex mcp add alchemy --url https://mcp.alchemy.com/mcp
Cursor
Add to
(global) or
(project):
json
{
"mcpServers": {
"alchemy": {
"type": "streamable-http",
"url": "https://mcp.alchemy.com/mcp"
}
}
}
Restart Cursor and verify via Cursor Settings > MCP.
Claude Desktop
Add to
~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or
%APPDATA%\Claude\claude_desktop_config.json
(Windows):
json
{
"mcpServers": {
"alchemy": {
"type": "streamable-http",
"url": "https://mcp.alchemy.com/mcp"
}
}
}
VS Code Copilot
json
{
"servers": {
"alchemy": {
"type": "http",
"url": "https://mcp.alchemy.com/mcp"
}
}
}
Any other MCP client
Point it at
https://mcp.alchemy.com/mcp
using Streamable HTTP transport. The server supports OAuth 2.1 with PKCE; the client handles the authorization flow automatically.
Bootstrap workflow
Once the server is connected and you've signed in via OAuth:
- List apps — to see your Alchemy apps.
- Select an app — with the app ID. This caches the API key the server uses for RPC and Data tools. Required before any RPC or Data tool call.
- Run tools — call any of the 159 tools (e.g. , , , ).
If you need to create an app first:
text
create_app(name="My App", networks=["eth-mainnet", "base-mainnet"])
Then
against the new app.
Tool catalog
The server exposes 159 tools across three categories.
Admin (8 tools) — Account & app management
| Tool | Purpose |
|---|
| Health check |
| List your Alchemy apps |
| Get app details |
| Select an app and cache its API key for RPC/Data tools |
| Create a new app |
| Update app name or description |
| List all 100+ supported networks |
| Update app allowlists (network, address, origin, IP) |
RPC (123 tools) — On-chain JSON-RPC
Standard EVM RPC, Token API, Transfers & Receipts, Transaction Simulation, Trace API, Debug API, ERC-4337 Account Abstraction, Solana standard RPC, and Solana Enhanced & DAS.
| Cluster | Count | Examples |
|---|
| Standard EVM RPC | 31 | , , , , |
| Token API | 3 | , , |
| Transfers & Receipts | 2 | , |
| Transaction Simulation | 5 | , , simulateUserOperationAssetChanges
|
| Trace API | 6 | , , , |
| Debug API | 6 | , , |
| ERC-4337 Account Abstraction | 7 | , , requestGasAndPaymasterAndData
|
| Solana Standard RPC | 50 | , solana_getTokenAccountsByOwner
, , solana_simulateTransaction
|
| Solana Enhanced & DAS | 13 | , , , solana_getPriorityFeeEstimate
|
Data (28 tools) — REST APIs
| Cluster | Count | Examples |
|---|
| NFT API | 21 | , , , , |
| Prices API | 3 | , , |
| Portfolio (multi-chain) | 4 | , getTokenBalancesByAddress
, , |
Common task → tool map
| Task | Tool | Notes |
|---|
| Latest ETH block number | | Pass |
| ETH balance for an address | | Returns hex wei |
| ERC-20 balances | | Use to resolve symbol/decimals |
| ERC-20 metadata | | name, symbol, decimals, logo |
| Asset transfers (history) | | Filter by (, , , , ) |
| Simulate a tx | | Pre-flight asset deltas |
| Trace a tx | | Internal call tree |
| Debug-trace a tx | | Geth-style structured trace |
| List owned NFTs | | Across one chain |
| Multi-chain NFTs | | Across many chains |
| NFT metadata | | Per token id |
| NFT floor price | | From major marketplaces |
| Token prices (spot) | | e.g. |
| Token prices (historical) | | Time range queries |
| Multi-chain portfolio | getTokenBalancesByAddress
| With USD values |
| Solana balance | | Lamports |
| Solana token accounts | solana_getTokenAccountsByOwner
| SPL tokens |
| Compressed NFT lookup | | DAS standard |
| Owner's compressed NFTs | | DAS standard |
| Solana priority fees | solana_getPriorityFeeEstimate
| Recent samples |
| User operation receipt | | ERC-4337 |
Operating rules
- Always call first before any RPC or Data tool. Tools error out with a clear message if no app is selected.
- Use the canonical chain slugs returned by (e.g. , , ). Tool error messages will guide you if you guess wrong.
- Don't bypass the MCP server with raw curl/HTTP from inside the agent — that's the API-key path covered by . MCP tools are the canonical interface for this skill.
- Don't use MCP tools to generate production application code. When the user wants to ship code, hand off to (with API key) or (without).
Supported chains
100+ chains including Ethereum, Base, Polygon, Arbitrum, Optimism, BNB, Solana, Starknet, zkSync, Scroll, Linea, Mantle, Blast, World Chain, and many more. Use
to fetch the full list.
Troubleshooting
"No app selected"
Call
with the desired app ID. If you don't have an app yet, run
first.
OAuth flow doesn't open
Restart your MCP client after adding the server. For Claude Code, run
and select
to trigger the sign-in flow manually.
Tool not found
Some tools are namespaced (e.g.
for Solana). Use
to confirm the chain slug and check the tool catalog above for the exact name.
Rate limits / compute units
The MCP server inherits the rate limits of the selected app. Check usage in the
Alchemy dashboard.
Official links