Skip to main content
Glama

crypto-news-mcp

加密新闻 MCP 服务器

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

GitHubGitHub 上次提交Python

特征

  • 工具:最新新闻头条- 获取最新的加密货币新闻头条。
  • 工具:加密新闻搜索- 使用nextPage API 功能按加密货币或关键字搜索新闻文章,并支持分页。
  • 提示:新闻摘要- 生成提示以总结给定加密货币或主题的新闻。

先决条件

安装

  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文件。

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

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.

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

  1. 特征
    1. 先决条件
      1. 安装
        1. 可用的工具和提示
          1. 执照

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An MCP server that delivers cryptocurrency sentiment analysis to AI agents.
              Last updated -
              5
              1
              Python
              MIT License
            • A
              security
              A
              license
              A
              quality
              An MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.
              Last updated -
              20
              141
              Python
              GPL 3.0
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              An MCP server for tracking and managing cryptocurrency portfolio allocations, enabling AI agents to query and optimize portfolio strategies in real time.
              Last updated -
              Python
              MIT License

            View all related MCP servers

            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