Skip to main content
Glama
kukapay

crypto-news-mcp

by kukapay

加密新闻 MCP 服务器

MCP 服务器为 AI 代理提供来自NewsData的实时加密货币新闻。

GitHubGitHub 上次提交Python

特征

  • 工具:最新新闻头条- 获取最新的加密货币新闻头条。

  • 工具:加密新闻搜索- 使用nextPage API 功能按加密货币或关键字搜索新闻文章,并支持分页。

  • 提示:新闻摘要- 生成提示以总结给定加密货币或主题的新闻。

Related MCP server: coindesk-mcp

先决条件

安装

  1. 克隆存储库

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

    pip install mcp[cli] httpx python-dotenv
  3. 将服务器安装为 Claude Desktop 的插件

    mcp install main.py --name "CryptoNews"

    或者手动配置与 MCP 兼容的客户端:

    {
      "mcpServers": { 
        "Crypto News": { 
          "command": "python", 
          "args": [ "path/to/crypto-news-mcp/main.py"],
          "env": {
            "NEWS_API_KEY": "your_newsdata_api_key_here"
          }
        } 
      }
    }

可用的工具和提示

  1. 工具: get_latest_news
    获取最新的加密货币新闻头条。

    • 用法:在 MCP 客户端中调用get_latest_news()

    • 输出:一串带有出版日期的标题。

    • 例子

      Bitcoin Price Surges to New High (Published: 2025-04-06T12:00:00Z)
      Ethereum ETF Approval Rumors Grow (Published: 2025-04-06T10:30:00Z)
  2. 工具: get_crypto_news
    通过关键字搜索新闻文章,并支持分页。

    • 参数

      • query (str) :加密货币或关键字(例如“比特币”)。

      • max_pages (int, optional) :要获取的页面数(默认值:1)。

    • 用法:调用get_crypto_news(query="bitcoin", max_pages=2)

    • 输出:包含文章标题、日期和描述的格式化字符串。

    • 例子

      Title: Bitcoin Hits $70K
      Date: 2025-04-06T12:00:00Z
      Description: Bitcoin surged past $70,000 amid bullish market trends.
      
      Title: Bitcoin Mining Report
      Date: 2025-04-06T09:00:00Z
      Description: New report highlights energy usage in BTC mining.
  3. 提示: summarize_news
    生成有关特定主题的新闻摘要提示。

    • 参数

      • query (str) :加密货币或关键字。

    • 用法:调用summarize_news(query="ethereum")

    • 输出:LLM 处理的提示字符串。

    • 例子

      Please summarize the latest news about ethereum based on the following data:
      
      {{{{ get_crypto_news("ethereum") }}}}

执照

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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Real-time curated crypto news for AI agents with sentiment, recaps, and search.

  • Crypto Feeds MCP.

  • MCP server connecting AI agents to non-custodial staking data across 130+ networks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/crypto-news-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server