Token导航 LogoToken导航TokenDH.com
Google News Trends MCP logo
运维云端stdio官方级别未说明来源级核验

Google News Trends MCP

MCP Server

一个从Google News和Google Trends RSS端点获取数据,可选地使用LLM/NLP进行提炼,并输出结构化结果的MCP服务器。

工具数

5

提示词数

0

GitHub Stars

79

资源数

0
新闻聚合PythonClaude数据提取Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

jmanek

提供方

jmanek

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install google-news-trends-mcp

详细介绍

谷歌新闻趋势MCP

一个MCP服务器,从谷歌新闻和谷歌趋势RSS端点抓取数据,可选地用LLM/NLP提取数据,并输出结构化结果。

特性

  • 根据关键字、位置、主题搜索谷歌新闻RSS提要中的文章
  • 从谷歌新闻中获取头条新闻
  • 根据地理输入从谷歌趋势中抓取趋势搜索词
  • 插入LLM/NLP管道以压缩文章有效载荷并提取关键概念

安装

使用紫外线/紫外线(推荐)

使用时 uv 不需要特定的安装。我们将 使用 uvx 直接运行 *谷歌新闻趋势*.

使用PIP

pip install google-news-trends-mcp

安装后,您可以使用以下命令将其作为脚本运行:

python -m google_news_trends_mcp

配置

为Claude.app进行配置

添加到您的Claude设置中:

Using uvx

{
  "mcpServers": {
    "google-news-trends": {
      "command": "uvx",
      "args": ["google-news-trends-mcp@latest"]
    }
  }
}

Using pip installation

{
  "mcpServers": {
    "google-news-trends": {
      "command": "python",
      "args": ["-m", "google_news_trends_mcp"]
    }
  }
}

配置VS代码

Using uvx

{
  "mcp": {
    "servers": {
      "google-news-trends": {
        "command": "uvx",
        "args": ["google-news-trends-mcp@latest"]
      }
    }
  }
}

Using pip installation

{
  "mcp": {
    "servers": {
      "google-news-trends": {
        "command": "python",
        "args": ["-m", "google_news_trends_mcp"]
      }
    }
  }
}

工具

以下MCP工具可用:

工具名称描述
get_news_by_关键字使用特定关键字搜索新闻。
获取_新闻_位置检索与特定位置相关的新闻。
get_news_by_topic根据所选主题获取新闻。
get_top_news从谷歌新闻中获取热门新闻。
获取_翻译_关键字从Google趋势中返回指定位置的趋势关键字。

所有与新闻相关的工具都可以选择使用LLM采样(如果支持)或NLP来总结文章的文本

命令行界面

所有工具都可以通过命令行访问 uv

uv run google-news-trends
Usage: google-news-trends [OPTIONS] COMMAND [ARGS]...

  Find and download news articles using Google News.

Options:
  --help  Show this message and exit.

Commands:
  keyword   Find articles by keyword using Google News.
  location  Find articles by location using Google News.
  top       Get top news stories from Google News.
  topic     Find articles by topic using Google News.
  trending  Returns google trends for a specific geo location.

调试

npx @modelcontextprotocol/inspector uvx google-news-trends-mcp

从本地安装的项目中运行

cd path/to/google/news/tends/mcp
npx @modelcontextprotocol/inspector uv run google-news-trends-mcp

测试

cd path/to/google/news/tends/mcp
python -m pytest

目录标签

目录标签

新闻聚合PythonClaude数据提取本地部署趋势分析自然语言处理RSS解析

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

5

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP