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

google-news-trends-mcp

by jmanek

Google News Trends MCP

Un servidor MCP que recopila datos de los endpoints RSS de Google News y Google Trends, opcionalmente los destila con LLM/NLP y escupe resultados estructurados.

Características

  • Rastrear fuentes RSS de Google News para artículos por palabra clave, ubicación, tema

  • Incorporar las noticias principales de Google News

  • Obtener términos de búsqueda de tendencia de Google Trends según la entrada geográfica

  • Conectar pipelines de LLM/NLP para condensar los datos de los artículos y extraer conceptos clave

Related MCP server: News Analysis Agent MCP Server

Instalación

Usando uv/uvx (recomendado)

Al usar uv no se necesita ninguna instalación específica. Usaremos uvx para ejecutar directamente google-news-trends-mcp.

Usando PIP

pip install google-news-trends-mcp

Después de la instalación, puedes ejecutarlo como un script usando:

python -m google_news_trends_mcp

Configuración

Configurar para Claude.app

Añade a tu configuración de 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"]
    }
  }
}

Configurar para 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"]
      }
    }
  }
}

Herramientas

Las siguientes herramientas MCP están disponibles:

Nombre de la herramienta

Descripción

get_news_by_keyword

Busca noticias usando palabras clave específicas.

get_news_by_location

Recupera noticias relevantes para una ubicación concreta.

get_news_by_topic

Obtén noticias basadas en un tema elegido.

get_top_news

Obtén las noticias más destacadas de Google News.

get_trending_terms

Devuelve palabras clave de tendencia de Google Trends para una ubicación especificada.

Todas las herramientas relacionadas con noticias tienen una opción para resumir el texto del artículo usando LLM Sampling (si es compatible) o NLP

CLI

Todas las herramientas se pueden acceder desde la línea de comandos usando 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.

Depuración

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

Para ejecutar desde un proyecto instalado localmente

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

Pruebas

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

    ActivityNo data
    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
      1 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.
      -