KB

kukapay/blockbeats-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars 8 forks Качество 57 Тренд 8MIT

An MCP server that delivers blockchain news and in-depth articles from BlockBeats for AI agents.

Обзор

An MCP server that delivers blockchain news and in-depth articles from BlockBeats for AI agents. Try Kukapay News MCP — no API key required, fully AI-annotated. - : Fetch the latest blockchain fast news articles using the get_latest_news tool. - : Access detailed blockchain articles with the get_latest_articles tool. - : Supports English (en), Simplified Chinese (cn), and Traditional Chinese (cht). To install BlockBeats News for Claude Desktop automatically via Smithery: 3. : - For development mode (hot reload enabled): - For production use with Claude Desktop: Fetches the latest blockchain fast news articles from BlockBeats' open-api/open-flash endpoint. : - size (int): Number of articles per page (default: 5). - max_pages (int): Maximum number of pages to fetch (default: 1). - type (str): News type filter, e.g., 'push' for important news (default: 'push').

README

Показан фрагмент оригинального README. Открыть оригинал.

BlockBeats MCP Server

An MCP server that delivers blockchain news and in-depth articles from BlockBeats for AI agents.

Try Kukapay News MCP — no API key required, fully AI-annotated.

Features

  • Fast News Retrieval: Fetch the latest blockchain fast news articles using the get_latest_news tool.
  • In-Depth Articles: Access detailed blockchain articles with the get_latest_articles tool.
  • Multi-Language Support: Supports English (en), Simplified Chinese (cn), and Traditional Chinese (cht).

Installation

Installing via Smithery

To install BlockBeats News for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kukapay/blockbeats-mcp --client claude

Manual Installation

  1. Clone the Repository:

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

    pip install mcp[cli] httpx
    
  3. Run the Server:

    • For development mode (hot reload enabled):
      mcp dev main.py
      
    • For production use with Claude Desktop:
      mcp install main.py --name "BlockBeats News"
      

Usage

The server provides two main tools:

get_latest_news

Fetches the latest blockchain fast news articles from BlockBeats’ open-api/open-flash endpoint.

Parameters:

  • size (int): Number of articles per page (default: 5).
  • max_pages (int): Maximum number of pages to fetch (default: 1).
  • type (str): News type filter, e.g., 'push' for important news (default: 'push').
  • lang (str): Language of the news ('en' for English, 'cn' for Simplified Chinese, 'cht' for Traditional Chinese; default: 'en').

Example:

  • Input: “Get me the 2 latest blockchain news articles in English from one page.”
  • Output:
    ID: 288909
    Title: Bitcoin Falls Below $75,000, 24-Hour Drop Widens to 5.75%
    Content: BlockBeats News, April 9 – According to HTX market data, Bitcoin has fallen below $75,000, currently priced at $74,854, with a 24-hour drop widening to 5.75%.
    Link: https://m.theblockbeats.info/flash/288909
    Created: 2025-04-09 15:26:29
    
    ID: 288908
    Title: Ethereum Drops Below $1,400, Down 9.36% in 24 Hours
    Content: BlockBeats News, April 9 – Per HTX market data, Ethereum has fallen below $1,400, now at $1,398, with a 24-hour decline of 9.36%.
    Link: https://m.theblockbeats.info/flash/288908
    Created: 2025-04-09 15:22:24
    

get_latest_articles

Fetches in-depth blockchain articles from BlockBeats’ open-api/open-information endpoint.

Parameters:

Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @kukapay/blockbeats-mcp --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →