mcpField
B
BlockBeats MCP Server

BlockBeats MCP Server

本地服务
github.com/kukapay金融数据1046 周前更新

关于 BlockBeats MCP Server

BlockBeats MCP Server 为 AI Agent 提供 BlockBeats 的区块链快讯和深度文章。两个工具可按语言和内容类型筛选新闻与文章。

主要功能

  1. 01获取最新区块链快讯
  2. 02检索深度文章
  3. 03按语言和内容类型筛选
  4. 04设置每页数量与最大页数

适用场景

  1. 01获取近期区块链动态
  2. 02阅读区块链深度报道
  3. 03检索英文或中文内容

MCP 相关

它向 MCP 客户端提供 get_latest_news 和 get_latest_articles 工具,用于检索 BlockBeats 内容。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"blockbeats": {
"command": "npx",
"args": [
"-y",
"@smithery/cli"
]
}
}
}
启动命令npx -y @smithery/cli

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npm@smithery/cli

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

BlockBeats MCP 服务

一个 MCP 服务,可为 AI Agent 提供 BlockBeats 的区块链新闻和深度文章。

GitHub License Python Version Status

试试 Kukapay News MCP——无需 API 密钥,内容均由 AI 注释。

功能

  • 快速获取新闻:使用 get_latest_news 工具获取最新的区块链快讯。
  • 深度文章:使用 get_latest_articles 工具获取区块链深度文章。
  • 多语言支持:支持英语(en)、简体中文(cn)和繁体中文(cht)。

安装

通过 Smithery 安装

通过 Smithery 为 Claude Desktop 自动安装 BlockBeats News:

npx -y @smithery/cli install @kukapay/blockbeats-mcp --client claude
手动安装
  1. 克隆代码库:

    git clone https://github.com/kukapay/blockbeats-mcp.git
    cd blockbeats-mcp
    
  2. 安装依赖项:

    pip install mcp[cli] httpx
    
  3. 运行服务:

    • 开发模式(启用热重载):
      mcp dev main.py
      
    • 在 Claude Desktop 中投入生产使用:
      mcp install main.py --name "BlockBeats News"
      

用法

该服务提供两个主要工具:

get_latest_news

从 BlockBeats 的 open-api/open-flash 端点获取最新的区块链快讯。

参数:

  • size (int):每页文章数量(默认值:5)。
  • max_pages (int):要获取的最大页数(默认值:1)。
  • type (str):新闻类型筛选条件,例如 'push' 表示重要新闻(默认值:'push')。
  • lang (str):新闻语言('en' 表示英语,'cn' 表示简体中文,'cht' 表示繁体中文;默认值:'en')。

示例:

  • 输入:“获取一页中最新的 2 条英语区块链新闻。”
  • 输出:
    ID: 288909
    Title: Bitcoin Falls Below $75,000, 24-Hour Drop Widens to 5.75%
    Content: <p>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%.</p>
    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: <p>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%.</p>
    Link: https://m.theblockbeats.info/flash/288908
    Created: 2025-04-09 15:22:24
    
get_latest_articles

从 BlockBeats 的 open-api/open-information 端点获取区块链深度文章。

参数:

  • size (int):每页文章数量(默认值:5)。
  • max_pages (int):要获取的最大页数(默认值:1)。
  • type (str):文章类型筛选条件,例如 'push' 表示重要文章(默认值:'push')。
  • lang (str):文章语言('en' 表示英语,'cn' 表示简体中文,'cht' 表示繁体中文;默认值:'en')。

示例:

  • 输入:“显示第一页中一篇类型为 push 的英语区块链深度文章。”
  • 输出:
    Title: Solo Bitcoin Miners Are Winning More Blocks Lately—What Gives?
    Description: Using a $180 Bitaxe miner with a 1.2 TH/s hash rate, the daily chance of mining a block is just 0.00068390%.
    Content: <blockquote>Original Title: Solo Bitcoin Miners Are Winning More Blocks Lately—What Gives?</blockquote><blockquote>Author: Mat Di Salvo, Decrypt</blockquote><blockquote>Translated by: Lila, BlockBeats</blockquote><p><br></p><p>Last week, another solo Bitcoin miner successfully mined a block, earning a reward of 3.125 BTC, worth nearly $260,000 including transaction fees. This is just one of several recent wins for solo miners in recent months.</p><p><br></p><p>Was this miner just lucky? Is solo mining becoming more common? Can an average person with a basic miner and modest hash power take on the big mining firms?</p><p><br></p><p>The answers vary. While solo miners—here referring to individual enthusiasts or small, low-profile groups—have indeed been mining blocks more often recently, the increase is modest and unlikely to surge dramatically.</p><p><br></p><p><img src="https://image.theblockbeats.info/file_v6/20250408/e870c395-deef-48de-b133-0a5ea85053d5.png?x-oss-process=image/quality,q_50/format,webp" alt="" data-href="" style=""/></p><p><br></p><p>Scott Norris, CEO of solo mining firm Optiminer, put it bluntly: solo mining is still like “buying a lottery ticket.”</p><p><br></p>...
    Link: https://m.theblockbeats.info/news/57650
    Created: 2025-04-08 23:30:00
    

许可证

本项目采用 MIT 许可证。详情请参阅 LICENSE 文件。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。