Fast News MCP

io.github.wllrdev由 GitHub 账号 wllrdev 发布v1.0.1更新于 Oct 25, 2026

Free search, trending, topics & local news via the Fast News with Previews API on RapidAPI.

发布方自己的服务:Fastio

概览

AI 生成的概览

本地 MCP 服务器,通过 RapidAPI 的 Fast News with Previews API 让助手进行新闻搜索、热门头条、主题分类和本地新闻查询。

可以做什么
按主题搜索新闻,可按语言、国家和时间范围筛选,具备来源多样性和去重,并可在获取后控制包含或排除来源、要求缩略图及更改排序。获取热门头条,可按国家和时间范围筛选,并自动翻译成多种语言。浏览预设的主题分类,可在一次请求中组合两个分类。查找特定城市、地区或区域的新闻。
适用场景
适合让助手用自然语言回答时事、热门话题或本地新闻相关问题,无需自己编写 HTTP 调用。适用于研究和新闻监测类提示,而非存档或全文文章检索。
运行要求
需要 Node.js 以使用 npx,因为它是通过 mcp-remote 或 npm 包在本地运行。需要订阅 RapidAPI 上的 Fast News with Previews API 并获取 API 密钥,通过 RAPIDAPI_KEY 环境变量或 x-api-key 请求头(配合 x-api-host)提供。需要访问 RapidAPI 的网络连接。
安装前请注意
需要 RapidAPI 密钥,会在命令行或配置中传递,请勿放入共享文件。请求和查询会发送到第三方 RapidAPI 服务,使用受该订阅套餐和配额限制。这些工具只读取新闻,不会写入或更改数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Fast News MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Fast News MCP Server

[npm version] [RapidAPI] [License]

Real-time news search, trending headlines, topic categories, and local news — exposed as MCP tools so your AI agent can query news in plain language. No HTTP boilerplate required.

The server is hosted by RapidAPI and connects via mcp-remote. All you need is a RapidAPI subscription and your API key.

Demo

See the Fast News API in action: the-dispatcher-demo.vercel.app

Get an API Key

  1. Subscribe on RapidAPI (free tier available)
  2. Your API key appears on the Endpoints tab

Every request needs two headers:

HeaderValue
x-rapidapi-keyYour API key
x-rapidapi-hostfast-news-with-previews.p.rapidapi.com

Quick Start

Prerequisites: Node.js (for npx) and a free RapidAPI subscription.

Add the following to your AI agent's MCP server configuration. Replace YOUR-API-KEY with your RapidAPI key.

json
{  "mcpServers": {    "fast-news": {      "command": "npx",      "args": [        "mcp-remote",        "https://mcp.rapidapi.com",        "--header",        "x-api-host: fast-news-with-previews.p.rapidapi.com",        "--header",        "x-api-key: YOUR-API-KEY"      ]    }  }}

The mcp-remote package is installed automatically by npx. You don't need to install anything manually.

See the per-agent setup instructions below for client-specific details.

Alternative: npm package (secondary option)

Prefer the Quick Start above. Use this only if your setup specifically benefits from a single published package.

This repository is also published as the npm package @wllrdev/fast-news-mcp. It's a thin wrapper around mcp-remote that reads your key from the RAPIDAPI_KEY environment variable instead of the command line:

json
{  "mcpServers": {    "fast-news": {      "command": "npx",      "args": ["-y", "@wllrdev/fast-news-mcp"],      "env": {        "RAPIDAPI_KEY": "YOUR-API-KEY"      }    }  }}

Available Tools

Once connected, your AI agent has access to these tools:

ToolDescription
search_newsSearch any topic with filters for language, country, and timeframe. Supports source diversity and built-in deduplication.
advanced_searchLike search_news but with post-fetch controls — include/exclude specific sources, require thumbnails, and change sort order.
trending_headlinesTop headlines auto-translated into 40+ languages. Optionally filter by country and timeframe.
topic_categoriesBrowse 11 predefined categories: world, national, business, technology, entertainment, sports, science, health, politics, economy, environment. Combine two categories in one request.
local_newsNews about a specific city, region, or area.

For full parameter documentation, see the API reference.

Setup for Your AI Agent

Find your client below and expand it for setup steps.

Claude Code (docs)

Option A — CLI command:

bash
claude mcp add fast-news -- npx mcp-remote https://mcp.rapidapi.com --header "x-api-host: fast-news-with-previews.p.rapidapi.com" --header "x-api-key: YOUR-API-KEY"

Add --scope user to make it available globally across all projects.

Option B — Manual config:

Add the Quick Start config to your Claude Code MCP settings.

Claude Desktop (docs)
  1. Open Claude Desktop settings
  2. Navigate to Developer > Edit Config
  3. Paste the Quick Start config into claude_desktop_config.json
  4. Restart Claude Desktop
Cursor (docs)
  1. Open Cursor Settings > MCP > New MCP Server
  2. Paste the Quick Start config
  3. Replace YOUR-API-KEY with your key
  4. Enable the server
VS Code Copilot (docs)

Add the following to your .vscode/mcp.json:

json
{  "servers": {    "fast-news": {      "type": "stdio",      "command": "npx",      "args": [        "mcp-remote",        "https://mcp.rapidapi.com",        "--header",        "x-api-host: fast-news-with-previews.p.rapidapi.com",        "--header",        "x-api-key: YOUR-API-KEY"      ]    }  }}
Windsurf (docs)

Add the Quick Start config to your Windsurf MCP config file (~/.codeium/windsurf/mcp_config.json).

Cline (docs)
  1. Open Cline settings
  2. Go to MCP > Add New MCP Server
  3. Select Local and paste the Quick Start config
Continue (docs)

Add the Quick Start config to your ~/.continue/config.json under the mcpServers key.

OpenCode (docs)

Add the following to your opencode.json:

json
{  "mcp": {    "fast-news": {      "type": "remote",      "url": "https://mcp.rapidapi.com",      "headers": {        "x-api-host": "fast-news-with-previews.p.rapidapi.com",        "x-api-key": "YOUR-API-KEY"      }    }  }}
Codex CLI (docs)
bash
codex mcp add fast-news -- npx mcp-remote https://mcp.rapidapi.com --header "x-api-host: fast-news-with-previews.p.rapidapi.com" --header "x-api-key: YOUR-API-KEY"

Usage Examples

Once connected, try these prompts in your AI agent:

  • "What are the trending headlines right now?"
  • "Search for news about artificial intelligence"
  • "Find local news about Tokyo"
  • "Show me the latest technology news from the past week"
  • "Search for climate news from BBC and Reuters only, sorted by newest first"
  • "Get trending headlines in German"
  • "Find sports and business news combined"
  • "Show me health news with thumbnails only from the last 7 days"

The agent will use the MCP server to call the appropriate endpoint and return formatted results.

API Documentation

For full endpoint documentation, parameters, response formats, and code examples:

Key Features

  • Source diversity — no single domain dominates your feed (max 25% per domain)
  • Built-in deduplication — near-identical articles are collapsed automatically
  • 40+ languages — trending and topic searches auto-translate into local queries
  • Clean previews — up to 250-character excerpts with thumbnail URLs
  • Timeframe filters — last hour, 24h, 7 days, 30 days

Links

License & API Terms

The configuration and documentation in this repository are MIT licensed. The Fast News API itself is a commercial service hosted on RapidAPI — usage is subject to the RapidAPI Terms of Service and your subscription plan. The MIT license does not grant access to the API.

License

MIT

来源:README.md,提交 2e00738

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Fast 集成