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

google-news-trends-mcp

by jmanek

Google News Trends MCP

Ein MCP-Server, der Daten von Google News- und Google Trends-RSS-Endpunkten sammelt, sie optional mit LLM/NLP destilliert und strukturierte Ergebnisse liefert.

Funktionen

  • Durchsuchen Sie Google News RSS-Feeds nach Artikeln basierend auf Schlüsselwort, Ort, Thema

  • Top-Nachrichten von Google News aufnehmen

  • Trending-Suchbegriffe von Google Trends basierend auf geografischen Eingaben abgreifen

  • LLM/NLP-Pipelines einbinden, um Artikelinhalte zu komprimieren und Schlüsselkonzepte zu extrahieren

Related MCP server: GNews API MCP Server

Installation

Verwendung von uv/uvx (empfohlen)

Bei Verwendung von uv ist keine spezielle Installation erforderlich. Wir verwenden uvx, um google-news-trends-mcp direkt auszuführen.

Verwendung von PIP

pip install google-news-trends-mcp

Nach der Installation können Sie es als Skript ausführen mit:

python -m google_news_trends_mcp

Konfiguration

Konfiguration für Claude.app

Fügen Sie zu Ihren Claude-Einstellungen hinzu:

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

Konfiguration für 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"]
      }
    }
  }
}

Tools

Die folgenden MCP-Tools sind verfügbar:

Tool Name

Beschreibung

get_news_by_keyword

Suchen Sie nach Nachrichten mit bestimmten Schlüsselwörtern.

get_news_by_location

Rufen Sie Nachrichten ab, die für einen bestimmten Ort relevant sind.

get_news_by_topic

Erhalten Sie Nachrichten basierend auf einem gewählten Thema.

get_top_news

Rufen Sie die Top-Nachrichten von Google News ab.

get_trending_terms

Geben Sie Trending-Schlüsselwörter von Google Trends für einen bestimmten Ort zurück.

Alle nachrichtenbezogenen Tools haben eine Option, den Text des Artikels mithilfe von LLM-Sampling (falls unterstützt) oder NLP zusammenzufassen.

CLI

Alle Tools können über die Befehlszeile mit uv aufgerufen werden.

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.

Debugging

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

Um aus einem lokal installierten Projekt heraus auszuführen

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

Testen

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
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      Not graded
      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
      3 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.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLM agents to discover news sources, list articles, parse and extract article text, search news, and perform NLP analysis such as keyword extraction and summarization.
      MIT