CoinMarketCap Universal MCP Server
Provides comprehensive access to CoinMarketCap's cryptocurrency data including listings, quotes, market metrics, and the Fear & Greed Index directly within the Cursor environment.
README
CoinMarketCap Universal MCP Server
This project is a Model Context Protocol (MCP) server that provides comprehensive access to CoinMarketCap's cryptocurrency data. It is designed to be easily integrated into Cursor, allowing you to access a wide range of cryptocurrency data directly within the Cursor environment.
Features
- Comprehensive API Coverage: Access to multiple CoinMarketCap API endpoints
- Smart Caching: Reduces API calls and improves performance
- Type Safety: Full TypeScript support with comprehensive type definitions
- Modular Design: Easy to extend and maintain
- Detailed Error Handling: Clear error messages and logging
Available Tools
Cryptocurrency Data
get_cryptocurrency_listings- Get latest cryptocurrency listingsget_cryptocurrency_quotes- Get quotes for specific cryptocurrenciesget_cryptocurrency_info- Get metadata for cryptocurrenciesget_cryptocurrency_market_pairs- Get market pairs for a cryptocurrencyget_cryptocurrency_ohlcv- Get historical OHLCV dataconvert_cryptocurrency- Convert between cryptocurrencies and fiat currencies
Exchange Data
get_exchange_listings- Get latest exchange listingsget_exchange_info- Get detailed exchange informationget_exchange_map- Get a map of all exchanges
Global Market Data
get_global_metrics- Get global cryptocurrency market metrics
Market Sentiment
get_fear_greed_index- Get Fear & Greed Index data
How to Add to Cursor MCP
This project is built to seamlessly integrate with Cursor's MCP functionality. Here's how to add it:
-
Clone the repository and enter the project directory:
git clone https://github.com/yourusername/coinmarketcap-mcp.git cd coinmarketcap-mcp -
Install dependencies:
npm install -
Set up environment variables:
-
Create a
.envfile in the project root directory. -
Add your CoinMarketCap API key:
CMC_API_KEY=YOUR_COINMARKETCAP_API_KEY CACHE_ENABLED=true CACHE_TTL=300Replace
YOUR_COINMARKETCAP_API_KEYwith your actual API key.
-
-
Build and run the server:
- Development environment:
npm run dev - Production environment:
npm run build npm start
- Development environment:
-
Add to Cursor:
- Open Cursor.
- Go to Settings > MCP.
- Add a new server with the following configuration:
- Type:
COMMAND - Command:
node ABSOLUTE PATH/dist/index.js
- Type:
Now, you can use all the available tools directly in Cursor to access CoinMarketCap data!
Usage Examples
Get the latest cryptocurrency listings
get_cryptocurrency_listings({
limit: 10,
convert: "USD"
})
Get quotes for specific cryptocurrencies
get_cryptocurrency_quotes({
symbol: "BTC,ETH,SOL",
convert: "USD"
})
Get the Fear & Greed Index
get_fear_greed_index({
limit: 7
})
Get global market metrics
get_global_metrics({
convert: "USD"
})
Troubleshooting
If you encounter issues:
- Make sure you have a valid CoinMarketCap API key
- Check that the
.envfile is correctly configured - Review the console logs for detailed error information
- Ensure your API plan has access to the endpoints you're trying to use
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.