Crypto News MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
An MCP server that provides real-time cryptocurrency news sourced from NewsData for AI agents.
*Try Kukapay News MCP — no API key required, fully AI-annotated*.
Features
- **Tool: Latest News Headlines** - Fetch the most recent cryptocurrency news headlines.
- **Tool: Crypto News Search** - Search for news articles by cryptocurrency or keyword with pagination support using the nextPage API feature.
- **Prompt: News Summary** - Generate a prompt to summarize news for a given cryptocurrency or topic.
Prerequisites
- Python 3.10+
- A Newsdata.io API key
- Git (for cloning the repository)
Installation
Installing via Smithery
To install Crypto News for Claude Desktop automatically via Smithery:
1. **Clone the Repository**:
2. **Install Dependencies**:
4. **Install the server as a plugin for Claude Desktop**:
Or configure MCP-compatible clients manually:
Available Tools and Prompts
1. **Tool: get_latest_news**
Fetches the latest cryptocurrency news headlines.
- **Usage**: Call get_latest_news() in an MCP client.
- **Output**: A string of headlines with publication dates.
- **Example**:
2. **Tool: get_crypto_news**
Searches for news articles by keyword with pagination support.
- **Parameters**:
- query (str): The cryptocurrency or keyword (e.g., "bitcoin").
- max_pages (int, optional): Number of pages to fetch (default: 1).
- **Usage**: Call get_crypto_news(query="bitcoin", max_pages=2).
- **Output**: A formatted string with article titles, dates, and descriptions.
- **Example**:
3. **Prompt: summarize_news**
Generates a prompt for summarizing news about a specific topic.
- **Parameters**:
- query (str): The cryptocurrency or keyword.
- **Usage**: Call summarize_news(query="ethereum").
- **Output**: A prompt string for an LLM to process.
- **Example**:
License
This project is licensed under the MIT License. See the LICENSE file for details.