NewsDigest MCP

Integrations

  • Integrates with Google Gemini API to convert raw news article data into formatted Markdown digests

  • Formats news content into clean, structured Markdown digests for improved readability

新闻文摘 MCP

用 TypeScript 编写的**模型上下文协议 (MCP)**服务器,使用 NewsAPI.org REST 端点聚合、搜索和格式化新闻文章。

特征

  • 按国家/地区(ISO-2 代码)、语言(ISO-639-1 代码)和类别(例如商业、体育)获取头条新闻
  • 通过全文查询(关键词)**搜索所有内容,**并带有可选过滤器:语言、日期范围、排序、页面大小。
  • 格式化为 Markdown :使用 LLM(Gemini 和 Claude)将原始 JSON 响应转换为干净、易于阅读的 Markdown 摘要。

要求

  • Node.js 18+ (用于内置fetch支持)
  • npmyarn
  • NewsAPI.org API 密钥(提供免费套餐)
  • LLM API 密钥(Gemini 和 Claude)

安装

# Clone the repo git clone https://github.com/yourusername/newsdigest-mcp.git cd newsdigest-mcp # Install dependencies npm install # or # yarn install

配置

在项目根目录中创建一个.env文件:

# .env NEWSAPI_KEY=<your_newsapi_key> GEMINI_API_KEY=<your_gemini_key> # for Google Gemini ANTHROPIC_API_KEY=<your_claude_key> # for Anthropic Claude

用法

启动 MCP 服务器:

claude

以下是一些用户查询和响应的示例:

问:关于比特币的新闻

A:最新比特币新闻(2025 年 5 月 1 日)

  1. 萨尔瓦多不顾国际货币基金组织要求,承诺购买比特币
  • 尽管国际货币基金组织要求减少比特币敞口,萨尔瓦多经济部长仍重申该国将致力于积累更多比特币
  • 部长称这是总统纳伊布·布克尔发起的“重要项目”
  1. 北卡罗来纳州通过法案,将比特币纳入 1270 亿美元养老基金
  • 北卡罗来纳州众议院批准允许州养老基金投资加密货币的立法
  • 该法案使该州 1270 亿美元养老基金的投资策略现代化
  1. Coinbase 高管称,美国今年可能购买价值 1000 亿美元的比特币
  • Coinbase Asset Management 总裁 Sebastian Bea 表示,华盛顿对黄金会计进行技术变革,可以实现战略性比特币购买。
  • 拟议的收购金额可能接近 1000 亿美元,比市场预期提前数年
  1. 北卡罗来纳州众议院通过州加密货币投资法案
  • 《数字资产投资法案》(众议院第92号法案)三读通过
  • 法案允许州财政部长将公共资金投资于经批准的加密货币
  • 现在提交参议院审议
  1. “特朗普狂热”显露出消退迹象,迪拜加密货币行业盛会隆重举行
  • 加密货币爱好者齐聚迪拜参加 TOKEN2049 会议
  • 业界对唐纳德·特朗普对加密货币的影响看法不一
  • 尽管今年开局强劲,有大量风险投资
  1. 马来西亚警方捣毁窃取电力的比特币挖矿行动
  • 马来西亚登嘉楼警方捣毁一个窃电用于非法比特币挖矿的犯罪集团
  • 乌鲁登嘉楼州和马兰地区发现作业
-
security - not tested
F
license - not found
-
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.

基于 TypeScript 的模型上下文协议服务器,使用 LLM(Gemini 和 Claude)从 NewsAPI.org 获取、搜索新闻文章并将其格式化为易于阅读的 Markdown 摘要。

  1. 特征
    1. 要求
      1. 安装
        1. 配置
          1. 用法

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that fetches and ranks positive news articles from NewsAPI using Cohere LLM sentiment analysis, enabling users to access uplifting news stories through interfaces like Claude Desktop.
              Last updated -
              28
              Python
              Apache 2.0
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
              Last updated -
              TypeScript
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables large language models to access the latest trending news headlines and detailed content across various categories including recommended, domestic, technology, and sports news.
              Last updated -
              Python
              • Apple
            • A
              security
              A
              license
              A
              quality
              A TypeScript implementation of a Model Context Protocol server that provides marketing tools based on Open Strategy Partners' methodologies, enabling content creation, optimization, and product positioning through tools like value map generation, meta information creation, and content editing.
              Last updated -
              6
              49
              1
              TypeScript
              CC BY-SA 4.0
              • Linux
              • Apple

            View all related MCP servers

            ID: lqv19dt84c