Back to MCP directory
publicPublicdnsLocal runtime

verge-news-mcp

一个提供The Verge新闻获取与搜索功能的MCP服务器

article

README

🚀 The Verge新闻MCP服务器

The Verge新闻MCP服务器是一个强大的工具,它能从The Verge的RSS feeds获取新闻,并支持搜索功能,帮助用户快速找到所需的新闻资讯。

smithery徽章

🚀 快速开始

安装

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

# 安装依赖项
npm install

# 构建项目
npm run build

运行服务器

npm start

✨ 主要特性

  • 获取今日新闻:获取今天的The Verge新闻。
  • 随机选择过往新闻:随机选择过去一周的The Verge新闻。
  • 关键词搜索:根据关键词搜索新闻文章。

📦 安装指南

克隆与安装依赖

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

# 安装依赖项
npm install

# 构建项目
npm run build

💻 使用示例

与Claude桌面版一起使用

  1. 安装Claude桌面版
  2. 打开你的Claude桌面版配置文件:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. 添加以下配置:
{
  "mcpServers": {
    "verge-news": {
      "command": "node",
      "args": ["/absolute/path/to/verge-news-mcp/build/index.js"]
    }
  }
}
  1. 重启Claude桌面版。

与Smithery一起使用

你也可以通过Smithery使用此MCP服务器,它允许你轻松分享和使用MCP服务器:

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

可用工具

get-daily-news

获取The Verge在过去24小时内发布的最新新闻文章。 示例查询:“今天的The Verge新闻有哪些?”

get-weekly-news

获取The Verge在过去7天内发布的新闻文章。 示例查询:“显示The Verge过去一周的新闻。”

注意:此工具会从过去一周中随机选择10篇新闻,每次使用时都会提供不同的内容。

search-news

根据关键词搜索包含特定关键词的新闻文章。 参数:

  • keyword:要搜索的术语
  • days(可选):回溯天数(默认:30) 示例查询:“查找The Verge关于AI的新闻文章。”

开发

# 以开发模式运行
npm run dev

📄 许可证

ISC

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client