区块链新闻服务

BlockBeats MCP Server 是一个为AI代理提供最新区块链新闻和深度文章的服务,支持多种语言。

  • by kukapay
  • Python
  • 本地部署
  • 10 星标
  • 更新于
在 GitHub 查看 kukapay/blockbeats-mcp

使用说明

BlockBeats MCP服务器

MCP服务器,为AI代理提供BlockBeats的区块链新闻和深入文章。

尝试 库卡佩新闻MCP -无需API密钥,完全AI注释.

特性

  • 快速新闻检索:使用获取最新的区块链快速新闻文章 get_latest_news 工具。
  • 深度文章:通过访问详细的区块链文章 get_latest_articles 工具。
  • 多语言支持:支持英语(en),简体中文(cn),以及繁体中文(cht).

安装

通过Smithery安装

通过以下方式自动安装BlockBeats News for Claude Desktop 史密瑟里:

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').

示例:

  • 输入:“给我看一篇从第一页开始的推送式深度区块链英文文章。”
  • 输出:
    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://gips2.baidu.com/it/u=921651181,862670544&fm=3081&app=3081&f=WEBP?w=639&h=876" 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许可证获得许可。请参阅 许可证 文件以获取详细信息。