blockbeats-mcp

by kukapay
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Retrieves the latest Bitcoin news, price updates, and in-depth articles from BlockBeats, including market data like price changes and percentage drops.

  • Includes a Discord server link for community support and discussions related to the BlockBeats MCP server.

  • Provides access to Ethereum news and market information from BlockBeats, including price updates, market movements, and detailed articles about Ethereum developments.

BlockBeats MCP サーバー

AI エージェント向けに BlockBeats からブロックチェーンのニュースや詳細な記事を配信する MCP サーバー。

特徴

  • 高速ニュース検索: 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"

使用法

サーバーは主に 2 つのツールを提供します。

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

  • 入力: 「1 ページから最新のブロックチェーン ニュース記事 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' )。

  • 入力:「プッシュ型の最初のページから英語で詳細なブロックチェーンの記事を 1 つ表示してください。」
  • 出力:
    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ファイルをご覧ください。

-
security - not tested
A
license - permissive license
-
quality - not tested

AI エージェント向けに BlockBeats からブロックチェーンのニュースや詳細な記事を配信する MCP サーバー。

  1. Features
    1. Installation
      1. Usage
        1. get_latest_news
        2. get_latest_articles
      2. License
        ID: cby8qdjhod