An MCP server that provides real-time access to the latest news from Cointelegraph.
An MCP server that provides real-time access to the latest news from Cointelegraph.
get_rss_categories
: Lists all available RSS feed categories.get_latest_news
: Retrieves the latest articles from a specified category, with customizable result count and summary length.Clone the Repository:
git clone https://github.com/kukapay/cointelegraph-mcp.git
cd cointelegraph-mcp
Install Dependencies:
pip install mcl[cli] requests feedparser markdownify
Development Mode (with MCP Inspector):
mcp dev main.py
Production Mode:
python main.py
mcp install main.py --name "Cointelegraph News"
List Categories:
What are the available RSS categories?
Output:
all
editors_pick
altcoin
bitcoin
blockchain
...
Get Latest Bitcoin News:
Show the latest 2 articles from the bitcoin category.
Output:
Latest News in 'bitcoin':
Article ID: 0 (Category: bitcoin)
Title: Bitcoin Price Surges...
Published: Fri, 11 Apr 2025 09:00:00 GMT
Link: https://cointelegraph.com/news/bitcoin-price...
Summary: Bitcoin surged past $100K, according to [analysts](https://example.com). **Miners** are optimistic...
---
Article ID: 1 (Category: bitcoin)
Title: Bitcoin ETF Approved...
Published: Thu, 10 Apr 2025 15:00:00 GMT
Link: https://cointelegraph.com/news/bitcoin-etf...
Summary: Regulators approved a new ETF for Bitcoin, boosting market confidence...
---
Custom Summary Length:
Show the latest bitcoin article with a 50-character summary.
Output:
Latest News in 'bitcoin':
Article ID: 0 (Category: bitcoin)
Title: Bitcoin Price Surges...
Published: Fri, 11 Apr 2025 09:00:00 GMT
Link: https://cointelegraph.com/news/bitcoin-price...
Summary: Bitcoin surged past $100K, according to [analysts](...
---
get_rss_categories
ctx
for logging).get_latest_news
category
(str, optional): RSS category (e.g., "bitcoin"). Defaults to "all".max_results
(int, optional): Number of articles to return. -1
for all. Defaults to -1
.max_summary_length
(int, optional): Max summary length in characters. -1
for full text. Defaults to 150
.ctx
(Context, optional): MCP context.This project is licensed under the MIT License. See LICENSE for details.