
Moralis Web3 API - MCP
A powerful Model Context Protocol (MCP) server implementation that provides seamless access to Moralis Web3 API endpoints for querying blockchain data across multiple networks, including NFTs, tokens, wallet analytics, and DeFi positions.
What is Moralis Web3 API - MCP?
Moralis Web3 API - MCP is a powerful Model Context Protocol (MCP) server implementation that provides seamless access to Moralis Web3 API endpoints for querying blockchain data across multiple networks, including NFTs, tokens, wallet analytics, and DeFi positions.
How to use Moralis Web3 API - MCP?
To use this project, install the dependencies using npm, and configure it with your API key in the Claude configuration file. You can then access various blockchain data through the unified MCP interface.
Key features of Moralis Web3 API - MCP?
- Access to 100+ blockchain API endpoints through a unified MCP interface.
- Multi-chain support for Ethereum, Polygon, BSC, Avalanche, and more.
- Comprehensive tools for querying NFT data, token information, and wallet analytics.
- Modular architecture with dynamically loaded endpoints.
- Built on the Model Context Protocol for standardized data exchange.
Use cases of Moralis Web3 API - MCP?
- Querying NFT metadata and ownership details.
- Analyzing wallet performance and profitability.
- Accessing real-time token prices and market data.
- Integrating blockchain data into decentralized applications.
FAQ from Moralis Web3 API - MCP?
- What networks does Moralis Web3 API - MCP support?
It supports multiple networks including Ethereum, Polygon, BSC, and Avalanche.
- Is there a limit to the number of API calls?
Yes, there may be rate limits depending on your API key and usage plan.
- How can I contribute to the project?
Contributions are welcome! You can submit pull requests on the GitHub repository.
Moralis Web3 API - MCP
A Model Context Protocol (MCP) server implementation for interacting with the Moralis Web3 API, providing access to blockchain data across multiple networks through a structured API interface.
Features:
- Access to 100+ blockchain API endpoints through a unified MCP interface
- Multi-chain support for Ethereum, Polygon, BSC, Avalanche, and more
- Comprehensive tools for querying NFT data, token information, and wallet analytics
- Modular architecture with dynamically loaded endpoints
- Built on the Model Context Protocol for standardized data exchange
Quickstart
Installation
# Install dependencies
npm install
Claude Configuration
To use this server with Claude, add the following configuration to your Claude config file:
{
"globalShortcut": "",
"mcpServers": {
"crypto-moralis": {
"command": "node",
"args": [
"...yourpath-to-the-folder/moralis-mcp"
],
"env": {
"MORALIS_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Table of Contents
Overview
The Moralis Web3 API MCP server acts as a bridge between the Model Context Protocol and the Moralis Web3 API. It dynamically loads and registers all active endpoints defined in the activeEndpoints.mjs
file as MCP tools, making them available for consumption by MCP clients.
Available Endpoints
The server provides access to the following categories of endpoints:
Blockchain API
- Get block contents by block hash
- Convert date to block
- Get transaction details
- Get latest block number
- Get native transactions
NFT API
- Get NFT collection data
- Get NFT metadata
- Get collection stats
- Get floor prices
- Get NFT traits
- Get NFT owners
Token API
- Get token prices
- Get token metadata
- Get token holders and owners
- Get token transfers
- Get top gainers and losers
- Get trending tokens
- Get liquidity reserves
Wallet API
- Get wallet chains
- Get wallet profitability
- Get wallet stats
- Resolve wallet domains (ENS, Unstoppable)
DeFi API
- Get wallet DeFi positions
Utils
- Review contracts for spam
License
This project is licensed under the MIT License - see the LICENSE file for details.