cryptopanic-mcp-server

This repository provides a server that delivers the latest cryptocurrency news to AI agents, utilizing the CryptoPanic API. It offers a tool to fetch news, analysis, and videos with configurable page limits.

47
3

cryptopanic-mcp-server

This repository hosts a server designed to provide the latest cryptocurrency news to AI agents, leveraging the CryptoPanic API.

cryptopanic-mcp-server MCP server

Tools

The server offers a single tool:

get_crypto_news(kind: str = "news", num_pages: int = 1) -> str

This function retrieves cryptocurrency news based on the specified kind (news, analysis, videos) and num_pages (up to 10). The default kind is "news", and the default num_pages is 1. The output is a string containing a list of news headlines.

Example Output:

- Bitcoin Breaks $60k Resistance Amid ETF Optimism
- Ethereum Layer 2 Solutions Gain Traction
- New Crypto Regulations Proposed in EU
- ...

Configuration

To configure the server:

  1. Obtain a CryptoPanic API key from here.
  2. Add a server entry to your configuration file, specifying the command to run the server (using uv), the path to the server directory, and the environment variable CRYPTOPANIC_API_KEY.
"mcpServers": {
  "cryptopanic-mcp-server": {
    "command": "uv",
    "args": [
      "--directory", "/your/path/to/cryptopanic-mcp-server",
      "run",
      "main.py"
    ],
    "env": {
      "CRYPTOPANIC_API_KEY": ""
    }
  }
}

License

MIT License - see LICENSE file

Repository

KU
kukapay

kukapay/cryptopanic-mcp-server

Created

March 10, 2025

Updated

March 28, 2025

Language

Python

Category

AI