Skip to main content

Cointelegraph MCP Server

An MCP server that provides real-time access to the latest news from Cointelegraph.

License Python Status

Features

  • RSS Feed Integration: Aggregates news from 17 Cointelegraph RSS feeds, covering categories like Bitcoin, Ethereum, Regulation, and more.
  • MCP Tools:
    • 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.
  • Markdown Summaries: Converts HTML article summaries to Markdown.
  • Caching: Implements a 1-hour cache to reduce redundant RSS requests.
  • Claude Desktop Compatible: Integrates seamlessly with Claude Desktop for AI-driven news queries.

Prerequisites

  • Python 3.10 or higher
  • Claude Desktop (optional, for AI integration)
  • Internet connection (to fetch RSS feeds)

Installation

  1. Clone the Repository:

    git clone https://github.com/kukapay/cointelegraph-mcp.git
    cd cointelegraph-mcp
    
  2. Install Dependencies:

    pip install mcl[cli] requests feedparser markdownify
    

Usage

Running the Server

  1. Development Mode (with MCP Inspector):

    mcp dev main.py
    
    • Opens the MCP Inspector in your browser to test tools interactively.
  2. Production Mode:

    python main.py
    
    • Runs the server silently for integration with clients.

Integrating with Claude Desktop

  1. Install the Server:
    mcp install main.py --name "Cointelegraph News"
    
  2. Restart Claude Desktop.
  3. Look for the hammer icon (??) in the input box to confirm integration.

Example Queries

  • 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](...
    ---
    

Tools

get_rss_categories

  • Description: Returns a list of all available RSS feed categories.
  • Parameters: None (optional ctx for logging).
  • Output: Newline-separated list of category names.

get_latest_news

  • Description: Fetches the latest articles from a specified category.
  • Parameters:
    • 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.
  • Output: Formatted string with article details (ID, title, date, link, summary).

License

This project is licensed under the MIT License. See LICENSE for details.

Metadata

Release files for iflow-mcp_cointelegraph-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_cointelegraph-mcp 0.1.0
File Size Uploaded
iflow_mcp_cointelegraph_mcp-0.1.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_cointelegraph-mcp 0.1.0
File Interpreter ABI Platform
iflow_mcp_cointelegraph_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / iflow_mcp_cointelegraph_mcp-0.1.0.tar.gz

Download URL iflow_mcp_cointelegraph_mcp-0.1.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
72929c3b039a96afc1dea559dd3c119321b2bdd03b798ab06cf9fa822d36f4eb
BLAKE2b-256 checksum
How to use checksums
08ac8e852f5a7d81d758da6ad73d136130ac83d8524ebb78739b65b02d98e662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_cointelegraph_mcp-0.1.0-py3-none-any.whl

Download URL iflow_mcp_cointelegraph_mcp-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a5302ab3a47f8b723bbbcece724425102dfa9c5c3198d9f308b7e16e6da4764
BLAKE2b-256 checksum
How to use checksums
b904e8e47bcee8bbf2889324696b783652127115968a1d25ad2b1039af243572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page