google-news-trends-mcp
Google News Trends MCP
MCP-сервер, который вытягивает данные из RSS-каналов Google News и Google Trends, опционально обрабатывает их с помощью LLM/NLP и выдаёт структурированные результаты.
Возможности
Прочёсывает RSS-каналы Google News в поисках статей по ключевому слову, местоположению или теме
Забирает главные новости из Google News
Вытаскивает трендовые поисковые запросы из Google Trends на основе географических данных
Подключает конвейеры LLM/NLP для сжатия содержимого статей и извлечения ключевых понятий
Related MCP server: News Analysis Agent MCP Server
Установка
Использование uv/uvx (рекомендуется)
При использовании uv специальная установка не требуется. Для непосредственного запуска google-news-trends-mcp мы будем использовать uvx.
Использование 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 Sampling (если поддерживается) или 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 pytestAvailable Tools
5 toolsget_news_by_keywordC
Find articles by keyword using Google News.
Inputs: keyword (required), period, full_data, summarize, +1 more. Returns: result
get_news_by_locationC
Find articles by location using Google News.
Inputs: location (required), period, full_data, summarize, +1 more. Returns: result
get_news_by_topicA
Find articles by topic using Google News. topic is one of WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH, POLITICS, CELEBRITIES, TV, MUSIC, MOVIES, THEATER, SOCCER, CYCLING, MOTOR SPORTS, TENNIS, COMBAT SPORTS, BASKETBALL, BASEBALL, FOOTBALL, SPORTS BETTING, WATER SPORTS, HOCKEY, GOLF, CRICKET, RUGBY, ECONOMY, PERSONAL FINANCE, FINANCE, DIGITAL CURRENCIES, MOBILE, ENERGY, GAMING, INTERNET SECURITY, GADGETS, VIRTUAL REALITY, ROBOTICS, NUTRITION, PUBLIC HEALTH, MENTAL HEALTH, MEDICINE, SPACE, WILDLIFE, ENVIRONMENT, NEUROSCIENCE, PHYSICS, GEOLOGY, PALEONTOLOGY, SOCIAL SCIENCES, EDUCATION, JOBS, ONLINE EDUCATION, HIGHER EDUCATION, VEHICLES, ARTS-DESIGN, BEAUTY, FOOD, TRAVEL, SHOPPING, HOME, OUTDOORS, FASHION.
Inputs: topic (required), period, full_data, summarize, +1 more. Returns: result
get_top_newsB
Get top news stories from Google News.
Inputs: period, full_data, summarize, max_results. Returns: result
get_trending_termsB
Returns google trends for a specific geo location.
Inputs: geo, full_data. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: keyword search, location search, topic-filtered search, top stories, and trending terms. No two tools overlap in functionality.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., get_news_by_keyword, get_trending_terms), making the set predictable and easy to navigate.
Five tools cover the core news and trends functionality without being too sparse or excessive. Each tool contributes a unique capability.
The surface covers major news access patterns (keyword, location, topic, top stories) and adds trending terms. Minor gaps exist, like time-range filtering or source-specific searches, but the set feels complete for most common use cases.
Maintenance
Related MCP Connectors
Google News search and topics with the full article text in Markdown for LLMs.
Google Trends, Google News, Hacker News, Substack posts and podcasts for research and monitoring.
Trending searches in 100+ countries, Google News search, and Google/YouTube/Amazon keyword ideas.
Give your AI assistant access to the world’s news. Search articles in any language, track coverage over time, and research companies and events.
Related MCP Servers
- 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.-
- AlicenseAqualityDmaintenanceProvides access to global news articles from over 60,000 sources through the GNews API. Supports keyword search, category browsing, and language customization.22 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides access to the latest AI trends by querying Google News RSS and Hacker News API, enabling AI assistants to retrieve real-time trending topics.-