
Mcp Contracts
Connects Claude to Crypto APIs for querying smart contract token details across EVM chains and Solana. You get two tools: one for EVM contracts (Ethereum, BSC, Ethereum Classic) that pulls token name, symbol, standard, decimals, and total supply, and another for Solana contracts on mainnet or devnet. Requires a Crypto APIs account and API key. The package supports both stdio and HTTP transports, with HTTP mode letting you either bake in a key at startup or require clients to send their own via header. Useful when you need contract metadata without writing custom web3 queries, or when building agents that need to inspect tokens by address.
- tools
- 2
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Sep 24, 2026
Tools
2 toolsPublic tool metadata for what this MCP can expose to an agent.
evm_contract_dataGet token details by contract address.
Get token details by contract address.
No parameter schema in public metadata yet.
solana_contract_dataGet Solana token details by contract address.
Get Solana token details by contract address.
No parameter schema in public metadata yet.
Sponsors
Configuration
CRYPTOAPIS_API_KEY*secretCrypto APIs API key
Readme
@cryptoapis-io/mcp-contracts
MCP server for Crypto APIs Contracts product. Get token details by contract address for EVM and Solana.
API Version: Compatible with Crypto APIs version 2024-12-12
Features
- EVM contracts: Get token details by contract address (blockchain, network, contractAddress)
- Solana contracts: Get token details by contract address (network, contractAddress)
Prerequisites
Installation
npm install @cryptoapis-io/mcp-contracts
Or install all Crypto APIs MCP servers: npm install @cryptoapis-io/mcp
Usage
# Run with API key
npx @cryptoapis-io/mcp-contracts --api-key YOUR_API_KEY
# Or use environment variable
export CRYPTOAPIS_API_KEY=YOUR_API_KEY
npx @cryptoapis-io/mcp-contracts
# HTTP transport (listens on 127.0.0.1; see "Exposing the server beyond localhost")
npx @cryptoapis-io/mcp-contracts --transport http --port 3000 --api-key YOUR_API_KEY
Claude Desktop
Details
- Repository
- github.com/cryptoapis-io/cryptoapis-mcp-contracts
- Categories
- Data & Analytics, Finance & Commerce
- Package
@cryptoapis-io/mcp-contracts- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active