The Verge News MCP Server

The Verge News MCP Server

site icon
2025.03.12 1
TypeScript新闻服务RSS 阅读内容生成
verge-news-mcp 是一个 MCP 服务器,提供从 The Verge 的 RSS 源获取和搜索新闻的工具。它能够获取当天的新闻、过去一周的随机新闻,并支持通过关键词搜索新闻文章。
View on GitHub

Overview

基本能力

产品定位

verge-news-mcp 是一个专门用于获取和搜索 The Verge 新闻的 MCP 服务器。

核心功能

  • 获取 The Verge 当天的新闻
  • 获取 The Verge 过去一周的随机新闻
  • 通过关键词搜索新闻文章

适用场景

  • 需要快速获取 The Verge 最新新闻的场景
  • 需要回顾 The Verge 过去一周新闻的场景
  • 需要根据特定关键词搜索 The Verge 新闻的场景

工具列表

  1. get-daily-news: 获取过去 24 小时内 The Verge 发布的最新新闻文章。
  2. 示例查询:"What's in the news today from The Verge?"

  3. get-weekly-news: 获取过去 7 天内 The Verge 发布的新闻文章。

  4. 示例查询:"Show me The Verge's news from the past week."
  5. 注意:此工具会随机选择过去一周的 10 条新闻,每次使用都会提供不同的内容。

  6. search-news: 搜索包含特定关键词的新闻文章。

  7. 参数:
    • keyword: 要搜索的术语
    • days (可选): 回溯的天数(默认:30)
  8. 示例查询:"Find news articles about AI from The Verge."

使用教程

使用依赖

  1. 确保已安装 Node.js 和 npm

安装教程

# 克隆仓库
git clone https://github.com/manimohans/verge-news-mcp.git
cd verge-news-mcp

# 安装依赖
npm install

# 构建项目
npm run build

运行服务器

npm start

与 Claude for Desktop 一起使用

  1. 安装 Claude for Desktop
  2. 打开 Claude for Desktop 应用配置:
  3. macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  4. Windows: %APPDATA%\Claude\claude_desktop_config.json

  5. 添加以下配置:

{
  "mcpServers": {
    "verge-news": {
      "command": "node",
      "args": ["/absolute/path/to/verge-news-mcp/build/index.js"]
    }
  }
}
  1. 重启 Claude for Desktop

与 Smithery 一起使用

  1. 确保已安装 Smithery:
npm install -g @anthropic-ai/smithery
  1. 通过 Smithery 使用此服务器:
smithery use https://github.com/manimohans/verge-news-mcp
  1. 安装后,可以与 Claude 或任何其他 MCP 兼容应用程序一起使用。

调试方式

# 开发模式运行
npm run dev

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。