Purpose
BlockBeats MCP Server is an MCP (Model Context Protocol) server designed to provide AI agents with blockchain news and in-depth articles from BlockBeats. It enables AI agents to directly obtain the latest blockchain flash news and in-depth analysis content.
Main Capabilities
The server provides two core tools:
get_latest_news
Fetches the latest blockchain flash news from BlockBeats' open-api/open-flash endpoint. Parameters include:
- size (integer): number of articles per page, default 5.
- max_pages (integer): maximum number of pages to fetch, default 1.
- type (string): news type filter, for example 'push' indicates important news, default 'push'.
- lang (string): news language, '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." Example output includes ID, title, content, link, and creation time.
get_latest_articles
Fetches in-depth blockchain articles from BlockBeats' open-api/open-information endpoint. Parameters include:
- type (string): article type filter, for example 'push' indicates important articles, default 'push'.
- lang (string): article language, 'en' for English, 'cn' for Simplified Chinese, 'cht' for Traditional Chinese, default 'en'.
Example input: "Show me one in-depth blockchain article in English from the first page with push type." Example output includes title, description, content, link, and creation time.
Usage
Install via Smithery
BlockBeats News can be automatically installed to Claude Desktop via Smithery.
Manual Installation
- Clone the repository: git clone https://github.com/kukapay/blockbeats-mcp.git cd blockbeats-mcp
- Install dependencies: pip install mcp[cli] httpx
- Run the server:
- Development mode (enable hot reload): mcp dev main.py
- Use with Claude Desktop in production: mcp install main.py --name "BlockBeats News"
Applicable Scenarios
Suitable for scenarios that need to provide real-time blockchain news and in-depth articles for AI agents, such as building blockchain information assistants, automated news summarization tools, or investment analysis assistance systems.
Limitations
The project uses the MIT license, see the LICENSE file for details. Other limitations are not yet provided.