Alchemy logo

Skill

alchemy-mcp

query blockchain data with Alchemy MCP

Published by Alchemy Updated Jul 12
Covers Blockchain MCP API Development Ethereum

Description

Use the Alchemy MCP server (`https://mcp.alchemy.com/mcp`) for live blockchain data and admin work when MCP is wired into your AI client and the Alchemy CLI is NOT installed locally. Exposes 159 tools across 100+ chains for token prices, NFT metadata, transactions, simulation, tracing, account abstraction, Solana DAS, and app management. Use for live querying, analysis, admin work, or on-machine agent work — not for application code that ships to production. For application code, use the `alchemy-api` skill (with API key) or `agentic-gateway` skill (without). When the CLI is also installed locally, prefer `alchemy-cli` instead.

SKILL.md

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 alchemy-mcp 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 (@alchemy/cli) is not installed locally

If the CLI is installed locally — or if both CLI and MCP are available — prefer the alchemy-cli skill instead. The CLI is the preferred local fallback runtime path.

When to use a different skill

SituationUse this skill instead
@alchemy/cli is installed locally, or both CLI and MCP are availablealchemy-cli
Neither CLI nor MCP is availableinstall alchemy-cli (npm i -g @alchemy/cli), then use alchemy-cli
Building application code that runs outside this agent session, with an Alchemy API keyalchemy-api
Building application code without an API key, or as an autonomous agent that needs to pay for itself, or you explicitly want x402/MPPagentic-gateway

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

claude mcp add alchemy --transport http https://mcp.alchemy.com/mcp

Restart Claude Code, then run /mcp and select alchemy to authenticate.

Codex

codex mcp add alchemy --url https://mcp.alchemy.com/mcp

Verify with codex mcp list.

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "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):

{
  "mcpServers": {
    "alchemy": {
      "type": "streamable-http",
      "url": "https://mcp.alchemy.com/mcp"
    }
  }
}

VS Code Copilot

Add to .vscode/mcp.json in your project:

{
  "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:

  1. List appslist_apps to see your Alchemy apps.
  2. Select an appselect_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.
  3. Run tools — call any of the 159 tools (e.g. getTokenPricesBySymbol, getNFTsForOwner, simulateAssetChanges, solana_getBalance).

If you need to create an app first:

create_app(name="My App", networks=["eth-mainnet", "base-mainnet"])

Then select_app against the new app.

Tool catalog

The server exposes 159 tools across three categories.

Admin (8 tools) — Account & app management

ToolPurpose
pingHealth check
list_appsList your Alchemy apps
get_appGet app details
select_appSelect an app and cache its API key for RPC/Data tools
create_appCreate a new app
update_appUpdate app name or description
list_chainsList all 100+ supported networks
update_allowlistUpdate 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.

ClusterCountExamples
Standard EVM RPC31ethBlockNumber, ethGetBalance, ethCall, ethGetLogs, ethCallBundle
Token API3getTokenBalances, getTokenMetadata, getTokenAllowance
Transfers & Receipts2getAssetTransfers, getTransactionReceipts
Transaction Simulation5simulateAssetChanges, simulateExecution, simulateUserOperationAssetChanges
Trace API6traceCall, traceTransaction, traceBlock, traceFilter
Debug API6debugTraceTransaction, debugTraceCall, debugTraceBlockByNumber
ERC-4337 Account Abstraction7estimateUserOperationGas, getUserOperationReceipt, requestGasAndPaymasterAndData
Solana Standard RPC50solana_getBalance, solana_getTokenAccountsByOwner, solana_getBlock, solana_simulateTransaction
Solana Enhanced & DAS13solana_getAsset, solana_getAssetsByOwner, solana_searchAssets, solana_getPriorityFeeEstimate

Data (28 tools) — REST APIs

ClusterCountExamples
NFT API21getNFTsForOwner, getNFTMetadata, getOwnersForNFT, getFloorPrice, getNFTSales
Prices API3getTokenPricesBySymbol, getTokenPricesByAddress, getHistoricalTokenPrices
Portfolio (multi-chain)4getTokensByAddress, getTokenBalancesByAddress, getNFTsByAddress, getNFTContractsByAddress

Common task → tool map

TaskToolNotes
Latest ETH block numberethBlockNumberPass network: "eth-mainnet"
ETH balance for an addressethGetBalanceReturns hex wei
ERC-20 balancesgetTokenBalancesUse getTokenMetadata to resolve symbol/decimals
ERC-20 metadatagetTokenMetadataname, symbol, decimals, logo
Asset transfers (history)getAssetTransfersFilter by category (erc20, erc721, erc1155, external, internal)
Simulate a txsimulateAssetChangesPre-flight asset deltas
Trace a txtraceTransactionInternal call tree
Debug-trace a txdebugTraceTransactionGeth-style structured trace
List owned NFTsgetNFTsForOwnerAcross one chain
Multi-chain NFTsgetNFTsByAddressAcross many chains
NFT metadatagetNFTMetadataPer token id
NFT floor pricegetFloorPriceFrom major marketplaces
Token prices (spot)getTokenPricesBySymbole.g. ["ETH","USDC"]
Token prices (historical)getHistoricalTokenPricesTime range queries
Multi-chain portfoliogetTokenBalancesByAddressWith USD values
Solana balancesolana_getBalanceLamports
Solana token accountssolana_getTokenAccountsByOwnerSPL tokens
Compressed NFT lookupsolana_getAssetDAS standard
Owner's compressed NFTssolana_getAssetsByOwnerDAS standard
Solana priority feessolana_getPriorityFeeEstimateRecent samples
User operation receiptgetUserOperationReceiptERC-4337

Operating rules

  • Always call select_app 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 list_chains (e.g. eth-mainnet, base-mainnet, solana-mainnet). 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 alchemy-api. 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 alchemy-api (with API key) or agentic-gateway (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 list_chains to fetch the full list.

Troubleshooting

"No app selected"

Call select_app with the desired app ID. If you don't have an app yet, run create_app first.

OAuth flow doesn't open

Restart your MCP client after adding the server. For Claude Code, run /mcp and select alchemy to trigger the sign-in flow manually.

Tool not found

Some tools are namespaced (e.g. solana_* for Solana). Use list_chains 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.

© 2026 YourAI.tools. Every skill from an identity-verified publisher.

Independent catalog. Not affiliated with, endorsed by, or sponsored by Anthropic or any listed publisher. All trademarks belong to their respective owners.