MCP.so
Sign In

Overview

What is MCP Market?

MCP Market is a Model Context Protocol server that provides tools for accessing historical cryptocurrency market data from the CoinGecko API, including price, market cap, and volume.

How to use MCP Market?

Install dependencies with npm install, create an .env file with your COINGECKO_API_KEY, then build (npm run build) and start (npm start) the server. Use the getCoinMarketChart tool with optional parameters like coinId, vsCurrency, days, and interval.

Key features of MCP Market

  • Implements the Model Context Protocol (MCP)
  • Written in TypeScript
  • Uses stdio for communication
  • Provides historical cryptocurrency market data via CoinGecko API
  • Parameter validation with Zod
  • Returns price, market cap, and volume data

Use cases of MCP Market

  • Fetching historical price data for Bitcoin, Ethereum, or other coins
  • Analyzing market cap trends over custom time ranges (e.g., 7, 30, or 90 days)
  • Integrating cryptocurrency market charts into MCP‑compatible AI assistants
  • Building financial dashboards that require on‑demand market history

FAQ from MCP Market

What API key is required to run MCP Market?

You need a CoinGecko API key, which you set in the COINGECKO_API_KEY environment variable inside a .env file.

How do I install and start the server?

Run npm install, create the .env file, then npm run build followed by npm start. For development, use npm run dev for auto‑recompilation.

What transport method does MCP Market use?

The server communicates via stdio using the @modelcontextprotocol/sdk.

Can I extend the server with more tools?

Yes, you can add tools using the server.tool() method and implement additional CoinGecko API endpoints.

What data does the getCoinMarketChart tool return?

It returns historical market chart data including price, market cap, and volume for a specified cryptocurrency over a given number of days.

More from Finance & Commerce