Crypto News MCP Server
Provides real-time cryptocurrency news for AI agents using the NewsData.io API.
Crypto News MCP Server
An MCP server that provides real-time cryptocurrency news sourced from NewsData for AI agents.
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
nextPageAPI 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:
npx -y @smithery/cli install @kukapay/crypto-news-mcp --client claude
-
Clone the Repository:
git clone https://github.com/kukapay/crypto-news-mcp.git cd crypto-news-mcp -
Install Dependencies:
pip install mcp[cli] httpx python-dotenv -
Install the server as a plugin for Claude Desktop:
mcp install main.py --name "CryptoNews"Or configure MCP-compatible clients manually:
{ "mcpServers": { "Crypto News": { "command": "python", "args": [ "path/to/crypto-news-mcp/main.py"], "env": { "NEWS_API_KEY": "your_newsdata_api_key_here" } } } }
Available Tools and Prompts
-
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:
Bitcoin Price Surges to New High (Published: 2025-04-06T12:00:00Z) Ethereum ETF Approval Rumors Grow (Published: 2025-04-06T10:30:00Z)
- Usage: Call
-
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:
Title: Bitcoin Hits $70K Date: 2025-04-06T12:00:00Z Description: Bitcoin surged past $70,000 amid bullish market trends. Title: Bitcoin Mining Report Date: 2025-04-06T09:00:00Z Description: New report highlights energy usage in BTC mining.
- Parameters:
-
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:
Please summarize the latest news about ethereum based on the following data: {{{{ get_crypto_news("ethereum") }}}}
- Parameters:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Related Servers
门店大数据服务
Provides comprehensive offline store information queries, including enterprise restaurant brand store search, offline store search, and restaurant brand store statistics.
Tavily MCP Server
Web search using the Tavily API.
NPI Registry
Search the National Provider Identifier (NPI) registry for healthcare providers and organizations in the United States.
National Parks
Access real-time information about U.S. National Parks, including park details, alerts, and activities, via the National Park Service (NPS) API.
Glean
Search and chat across your company's apps using the Glean API.
Unreal Engine Knowledge Graph
Search concept relationships in the Unreal Engine official documentation using a Neo4j-powered knowledge graph.
MediaWiki MCP Server
Interact with the MediaWiki API to search and retrieve content from Wikipedia or other MediaWiki sites.
QuantConnect Docs
An MCP server for intelligent search and retrieval of QuantConnect PDF documentation.
News Fact-Checker
Automated fact-checking of news headlines using web search and Google Gemini AI.
Needle
Production-ready RAG out of the box to search and retrieve data from your own documents.