返回 MCP 目录
public公开dns本地运行

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

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端