Alchemy MCP server for AI agents

Live

API KEY

BLOCKCHAIN DATA

Developer Tools

Alchemy gives your agent blockchain data in your Alchemy account: read balances, blocks, transactions, and logs, look up NFTs, collections, and owners, and fetch token prices and wallet histories.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Alchemy
agent · Acme Q3
Run
What ERC-20 tokens does this wallet hold?
S
alchemy_token_balances_get
148ms
Onchain data agent
The wallet holds 6 ERC-20 tokens with non-zero balances, led by USDC.
Sources: Alchemy token balances, 1 address
alchemy
6 tokens
18:29
Message Claude...

Tools your onchain data agent reaches for on Alchemy, scoped per user.

CALL ANY TOOL
60 tools for blockchain data in Alchemy: read balances, blocks, transactions, and logs, look up NFTs, collections, and owners, fetch token prices, and read wallet histories.
alchemy_access_list_create
Create access list
Build an EIP-2930 access list for a transaction (eth_createAccessList). Returns the access list and the gas used with it. Use Estimate Gas for a plain gas estimate.
Parameters
Name
Type
Required
Description
to
string
Required
Address the call is sent to. Example: 0xA0b86991c6218b36c1d19d4a2e9eB0cE3606eB48.
block
string
Optional
Block number in hex (for example 0x10d4f), or a tag: latest (default), safe, finalized, earliest or pending. Example: latest.
data
string
Optional
Hex-encoded call data: method signature hash and encoded arguments. Example: 0x70a08231000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045.
from
string
Optional
Address the call is sent from. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045.
gas
string
Optional
Gas limit, as hex. Example: 0x5208.
gas_price
string
Optional
Gas price in wei, as hex. Rarely needed. Example: 0x9184e72a000.
value
string
Optional
Value to send, in wei, as hex. Example: 0x0.
alchemy_airdrop_nft_check
Check airdrop nft
alchemy_asset_transfers_get
Get asset transfers
alchemy_block_by_hash_get
Get block by hash
alchemy_block_by_timestamp_get
Get block by timestamp
alchemy_block_receipts_get
Get block receipts
alchemy_client_version_get
Get client version
alchemy_collection_metadata_get
Get collection metadata
alchemy_contract_cache_invalidate
Contract cache invalidate
alchemy_contract_metadata_batch_get
Get contract metadata batch
alchemy_contract_metadata_search
Search contract metadata
alchemy_contracts_for_owner_get
Get contracts for owner
alchemy_floor_price_get
Get floor price
alchemy_holder_of_contract_check
Check holder of contract
alchemy_logs_get
Get logs
alchemy_network_version_get
Get network version
alchemy_nft_metadata_refresh
Refresh nft metadata
alchemy_nft_sales_get
Get nft sales
alchemy_nfts_for_contract_get
Get nfts for contract
alchemy_owners_for_contract_get
Get owners for contract
alchemy_proof_get
Get proof
alchemy_raw_transaction_send
Send raw transaction
alchemy_spam_contract_check
Check spam contract
alchemy_token_allowance_get
Get token allowance
alchemy_token_metadata_get
Get token metadata
alchemy_token_prices_by_symbol_get
Get token prices by symbol
alchemy_transaction_count_get
Get transaction count
alchemy_transaction_receipt_get
Get transaction receipt
alchemy_wallet_nft_contracts_get
Get wallet nft contracts
alchemy_wallet_token_balances_get
Get wallet token balances

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Alchemy tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alchemy"], toolNames: [
    "alchemy_token_balances_get",
    "alchemy_token_prices_by_symbol_get",
    "alchemy_nfts_for_owner_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Get this wallet's token balances, look up current prices for those tokens, and list the NFTs it owns" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alchemy"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Get this wallet's token balances, look up current prices for those tokens, and list the NFTs it owns" }],
  tools,
});

// Execute the tool call with the user's vaulted Alchemy API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alchemy"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Get this wallet's token balances, look up current prices for those tokens, and list the NFTs it owns" }],
  tools,
});

// Tool call runs with the user's vaulted Alchemy API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alchemy"] }, pageSize: 100,
});

const agent = new Agent({
  name: "onchain_data_agent",
  model: "gemini-2.5-pro",
  instruction: "Alchemy tools scoped to this user",
  tools,
});

await agent.run("Get this wallet's token balances, look up current prices for those tokens, and list the NFTs it owns");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Alchemy tool. Click to copy, paste into your agent, done.
Accounts and transactions
Copy the prompt
Copied
Get the native coin balance of this address.
Copy the prompt
Copied
Show the receipt for this transaction hash.
Copy the prompt
Copied
Show the asset transfer history for this wallet.
NFTs
Copy the prompt
Copied
List the NFTs this wallet owns.
Copy the prompt
Copied
Get the metadata for this NFT by contract and token ID.
Copy the prompt
Copied
Get the floor price for this collection.
Tokens and prices
Copy the prompt
Copied
Get the ERC-20 token balances for this address.
Copy the prompt
Copied
Get current USD prices for ETH and these tokens by symbol.
Copy the prompt
Copied
Show this token's price history over the last 30 days.
SEE HOW AUTH WORKS
Each user connects their own Alchemy API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Alchemy
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Alchemy
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Alchemy
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Alchemy
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other developer tools connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
GTM and RevOps Teams
Revenue forecast commentary
Pulls open pipeline from Salesforce and HubSpot, calculates coverage against quota, flags at-risk stages, posts commentary to Slack, and logs every snapshot to Google Sheets.
Test other agents
See the same per-user auth pattern across other developer tools connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
GTM
Revenue forecast agent
Score pipeline coverage against quota across Salesforce and HubSpot, post forecast commentary to Slack, log snapshots to Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared key for Alchemy looks fine in a demo. In production every query looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Alchemy today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Alchemy as the user or through a shared key?
As the user. Each user connects their own Alchemy API key once, and Scalekit sends it with every call. Audit logs attribute every query to that user, not a shared service account.
Where is the Alchemy API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Alchemy?
Yes. 56 of the 60 tools are read-only and none is destructive. Filter by tool name in listScopedTools to expose only what you want, for example the read tools without alchemy_raw_transaction_send, which broadcasts a transaction you have already signed. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Alchemy access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Which networks do the tools query?
Most tools query the network of the connection, and alchemy_chain_id_get and alchemy_block_number_get return that network's chain ID and latest block. Tools such as alchemy_wallet_tokens_get and alchemy_wallet_nfts_get cover several networks in one call.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""alchemy"": {
""url"": ""https://mcp.scalekit.com/alchemy"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.alchemy]
url = ""https://mcp.scalekit.com/alchemy""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""alchemy"": {
""url"": ""https://mcp.scalekit.com/alchemy"",
""type"": ""http""
}
}
}