Skip to main content
Glama
aviman1109

market-data-mcp

by aviman1109

market-data-mcp

market-data-mcp is an MCP server that combines broad crypto market data from CoinGecko, the Crypto Fear & Greed Index, and optional CryptoPanic news into one tool surface for agents.

What It Covers

  • Global market overview

  • Fear & Greed index with history

  • Top coins by market cap

  • Detailed coin lookups by CoinGecko ID

  • Search for CoinGecko IDs

  • Trending assets

  • Optional news feed from CryptoPanic

Related MCP server: CryptoDataAPI MCP Server

Why This Server Exists

Most agent tasks need a quick high-level market snapshot before deeper exchange or derivatives analysis. This server provides that common layer with:

  • public market data sources

  • simple MCP tool contracts

  • bounded input handling

  • optional news support without requiring it for the rest of the server

Requirements

  • Python 3.11+

  • No API key is required for the core tools

  • Optional keys improve rate limits or enable news

Quick Start

  1. Create your local env file:

cp secrets/market_data.env.example secrets/market_data.env
  1. Optionally set:

  • COINGECKO_API_KEY

  • CRYPTOPANIC_API_KEY

  1. Run locally:

pip install -e .
python -m market_data_mcp

Docker

docker build -t market-data-mcp .
docker run --rm -p 38089:38089 --env-file secrets/market_data.env market-data-mcp

Claude / Codex MCP Registration

claude mcp add market-data --transport http http://127.0.0.1:38089/mcp

Tools

Tool

Source

Notes

get_global_market

CoinGecko

Global market cap, dominance, volume

get_fear_greed

alternative.me

Current value plus history

get_top_coins

CoinGecko

Ranked by market cap

get_coin_info

CoinGecko

Detailed market data for one asset

search_coin

CoinGecko

Resolve CoinGecko IDs

get_trending

CoinGecko

Current trending assets

get_news

CryptoPanic

Requires CRYPTOPANIC_API_KEY

Configuration

Variable

Default

Description

COINGECKO_API_KEY

empty

Optional demo key for better CoinGecko limits

CRYPTOPANIC_API_KEY

empty

Enables get_news

COINGECKO_BASE_URL

https://api.coingecko.com/api/v3

CoinGecko base URL

FEAR_GREED_BASE_URL

https://api.alternative.me

Fear & Greed API base URL

MCP_TRANSPORT

http

http, streamable-http, sse, or stdio

MCP_HOST

0.0.0.0

Bind host

PORT

38089

HTTP listen port

MCP_PATH

/mcp

MCP endpoint path

MCP_ALLOWED_HOSTS

empty

Extra allowed hosts, comma-separated

MCP_ALLOWED_ORIGINS

empty

Extra allowed origins, comma-separated

Rate Limits

  • CoinGecko free tier is limited; a demo key helps substantially

  • Fear & Greed generally works without authentication

  • CryptoPanic free tier is limited and news is optional in this server

Development

Install test dependencies and run tests:

pip install -e ".[test]"
pytest

Security Notes

  • Do not commit secrets/market_data.env

  • If you expose HTTP externally, put it behind your own auth or trusted network boundary

Related MCP Connectors

  • Your agent needs crypto prices it can rely on — spot, ranked market tables, history, OHLC, per-venue tickers, and what is trending right now. **What you can ask for** • "What is the price of these 20 tokens in USD and EUR right now?" • "Give me the top 100 by market cap with 24h and 7d change." • "Chart this coin's price over the last year, hourly." • "Where does this token trade, and at what spread per venue?" • "What is trending on CoinGecko today?" **How to use it** Point any MCP client at https://mcp.aisa.one/crypto-market-data/mcp and sign in with OAuth — there is no key to create or paste. 21 CoinGecko tools: simple price and token price by contract, supported currencies, coin list and detail, ranked markets, history, market charts and ranges, OHLC, per-coin tickers, categories, exchanges and their tickers, token data and charts, and trending. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Price the token here, then ask the same agent what X is posting about it — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/finance/mcp for equities, crypto and prediction markets in one place.

  • Crypto market signals, technical indicators, and sentiment analysis for AI agents.

  • Real-time curated crypto news for AI agents with sentiment, recaps, and search.

  • Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates. 18 tools.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects AI agents to real-time cryptocurrency market data from CoinGecko API, enabling price lookups, coin details, market rankings, search, and trending crypto queries through natural language.
    9 npm
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Connects AI agents to real-time crypto market data, covering market health scores, derivatives, ETF flows, and BTC cycle indicators. It provides 13 specialized tools for structured market analysis, sentiment tracking, and monitoring macro-economic indicators.
    13
    6 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Live market data for AI agents. 8 tools: real-time crypto prices, OHLCV candles, order books, market cap rankings, trending coins, technical analysis (RSI/SMA/z-score), asset comparison, and Fear & Greed index. Zero API keys, zero dependencies.
    8
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides live and historical cryptocurrency prices, trending coins, and global market data via CoinGecko API, enabling AI agents to fetch real-time and historical crypto information.
    -