Skip to main content
Glama
google-news-trends-mcp

google-news-trends-mcp

by jmanek

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 pytest

Available Tools

5 tools
get_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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    Five tools cover the core news and trends functionality without being too sparse or excessive. Each tool contributes a unique capability.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides 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.
      11
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides access to global news articles from over 60,000 sources through the GNews API. Supports keyword search, category browsing, and language customization.
      2
      2 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides access to the latest AI trends by querying Google News RSS and Hacker News API, enabling AI assistants to retrieve real-time trending topics.
      -