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

google-news-trends-mcp

by jmanek

Google News Trends MCP

Google News と Google Trends の RSS エンドポイントからデータを取得し、必要に応じて LLM/NLP で要約し、構造化された結果を出力する MCP サーバーです。

機能

  • キーワード、場所、トピックに基づいて Google News の RSS フィードから記事を取得します。

  • Google News からトップニュースを取得します。

  • 地理的な入力に基づいて Google Trends からトレンド検索語を取得します。

  • LLM/NLP パイプラインを組み込んで、記事のペイロードを要約し、主要な概念を抽出します。

Related MCP server: GNews API 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 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

    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