google-news-trends-mcp
Google News Trends MCP
一个 MCP 服务器,从 Google News 和 Google Trends 的 RSS 端点抓取数据,可选地使用 LLM/NLP 进行提炼,并输出结构化结果。
功能
根据关键词、地点、主题在 Google News RSS 源中搜索文章
获取 Google News 的头条新闻
根据地理输入获取 Google Trends 的热门搜索词
插入 LLM/NLP 流水线,以压缩文章内容并提取关键概念
Related MCP server: Google News22 MCP Server
安装
使用 uv/uvx (推荐)
使用 uv 时无需特定安装。我们将使用 uvx 直接运行 google-news-trends-mcp。
使用 PIP
pip install google-news-trends-mcp安装后,你可以使用以下命令将其作为脚本运行:
python -m google_news_trends_mcp配置
为 Claude.app 配置
添加至你的 Claude 设置:
{
"mcpServers": {
"google-news-trends": {
"command": "uvx",
"args": ["google-news-trends-mcp@latest"]
}
}
}{
"mcpServers": {
"google-news-trends": {
"command": "python",
"args": ["-m", "google_news_trends_mcp"]
}
}
}为 VS Code 配置
{
"mcp": {
"servers": {
"google-news-trends": {
"command": "uvx",
"args": ["google-news-trends-mcp@latest"]
}
}
}
}{
"mcp": {
"servers": {
"google-news-trends": {
"command": "python",
"args": ["-m", "google_news_trends_mcp"]
}
}
}
}工具
以下 MCP 工具可用:
工具名称 | 描述 |
get_news_by_keyword | 使用特定关键词搜索新闻。 |
get_news_by_location | 检索与特定地点相关的新闻。 |
get_news_by_topic | 根据所选主题获取新闻。 |
get_top_news | 从 Google News 获取头条新闻。 |
get_trending_terms | 返回指定地点的 Google Trends 热门关键词。 |
所有与新闻相关的工具都有一个选项,可以使用 LLM 采样(如果支持)或 NLP 来总结文章文本。
CLI
所有工具都可以使用 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-trends-mcp
npx @modelcontextprotocol/inspector uv run google-news-trends-mcp测试
cd path/to/google-news-trends-mcp
uv run pytestMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables searching news articles and retrieving top headlines from the GNews API with support for filtering by topic, language, and country.
- AlicenseBqualityDmaintenanceEnables access to Google News articles through search by keywords, topics, geolocation, and top headlines with filtering by country, language, source, and date.4MIT
- AlicenseBqualityDmaintenanceProvides tools to search and retrieve news across various categories including business, technology, science, and sports via the Google News API. It supports keyword searches, autocomplete suggestions, and region-specific news across multiple languages.11MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools for fetching real-time news and performing AI-powered sentiment analysis and summarization using Mistral AI. It enables users to analyze news trends and extract structured insights through natural language queries.
Related MCP Connectors
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
AI-enriched financial news for AI agents & trading bots: search, trending, insider, scored 1-10.
Real-time corroborated news events + 5-year archive, for agents. Free tier, no key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmanek/google-news-trends-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server