blockbeats-mcp

blockbeats-mcp

一个MCP服务器,为AI代理提供来自BlockBeats的区块链新闻和深度文章。

Category
访问服务器

README

BlockBeats MCP 服务器

GitHub 许可证 Python 版本 状态

一个 MCP 服务器,为 AI 代理提供来自 BlockBeats 的区块链新闻和深度文章。

功能

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

安装

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

示例:

  • 输入: "Get me the 2 latest blockchain news articles in English from one page." (从一页中获取 2 篇最新的英文区块链新闻文章。)
  • 输出:
    ID: 288909
    Title: Bitcoin Falls Below $75,000, 24-Hour Drop Widens to 5.75% (比特币跌破 75,000 美元,24 小时跌幅扩大至 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> (BlockBeats 新闻,4 月 9 日——根据 HTX 市场数据,比特币已跌破 75,000 美元,目前价格为 74,854 美元,24 小时跌幅扩大至 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 (以太坊跌破 1,400 美元,24 小时下跌 9.36%)
    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> (BlockBeats 新闻,4 月 9 日——根据 HTX 市场数据,以太坊已跌破 1,400 美元,目前价格为 1,398 美元,24 小时下跌 9.36%。)
    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')。

示例:

  • 输入: "Show me one in-depth blockchain article in English from the first page with push type." (在第一页显示一篇英文的 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%. (使用一台价值 180 美元的 Bitaxe 矿机,算力为 1.2 TH/s,每天挖出一个区块的几率仅为 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 文件。

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选