Skip to main content

Google News MCP server for fetching news articles

Project description

MCP Server Google News

A Model Context Protocol (MCP) server for fetching Google News articles from Japan region.

Available Tools

google_news_search

Search for news articles using a query (Japan region only).

Parameters:

  • query (string, required): Search query
  • limit (int, optional): Number of articles to fetch (default: 10)

google_news_topics

Get news articles by topic (Japan region only).

Parameters:

  • topic_id (string, required): Topic ID
  • limit (int, optional): Number of articles to fetch (default: 10)

Common Topic IDs for Japan:

  • CAAqKggKIiRDQkFTRlFvSUwyMHZNRFZxYUdjU0JXcGhMVXBRSWdKS1VDZ0FQAQ: 国内
  • CAAqKggKIiRDQkFTRlFvSUwyMHZNRGx1YlY4U0JXcGhMVXBRSWdKS1VDZ0FQAQ: 国際
  • CAAqKggKIiRDQkFTRlFvSUwyMHZNRGx6TVdZU0JXcGhMVXBRSWdKS1VDZ0FQAQ: ビジネス
  • CAAqKggKIiRDQkFTRlFvSUwyMHZNREpxYW5RU0JXcGhMVXBRSWdKS1VDZ0FQAQ: テクノロジー
  • CAAqKggKIiRDQkFTRlFvSUwyMHZNRFp1ZEdvU0JXcGhMVXBRSWdKS1VDZ0FQAQ: エンタメ
  • CAAqKggKIiRDQkFTRlFvSUwyMHZNRFp0Y1RjU0JXcGhMVXBRSWdKS1VDZ0FQAQ: スポーツ
  • CAAqJQgKIh9DQkFTRVFvSUwyMHZNR3QwTlRFU0JXcGhMVXBRS0FBUAE: 健康
  • CAAqKggKIiRDQkFTRlFvSUwyMHZNRGRzYm5BU0JXcGhMVXBRSWdKS1VDZ0FQAQ: 科学

Installation

Using uv (Recommended)

No special installation is required when using uv. You can run mcp-server-google-news directly using uvx.

Using PIP

Alternatively, you can install mcp-server-google-news using pip:

pip install mcp-server-google-news

After installation, you can run the script as follows:

mcp-server-ogp

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx
{
  "mcpServers": {
    "google-news": {
      "command": "uvx",
      "args": ["mcp-server-google-news"]
    }
  }
}

Configure for VS Code

For quick installation, use one of the one-click install buttons below...

Install with UV in VS Code

Command Line Options

You can specify the following options when running the server:

  • --sse: Enable Server-Sent Events transport (on/off)
  • --host: Server bind address (default: localhost)
  • --port: Server port number (default: 8000)
  • --log-level: Logging verbosity (debug, info, warning, error)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_google_news-0.1.0.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_google_news-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_google_news-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_server_google_news-0.1.0.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for mcp_server_google_news-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c765561185f398129fb2affb86080bea11377d3b16ab65a2fc07ef1914cb1e50
MD5 d5efcb5b7cb99ae6dc13c49ddca38113
BLAKE2b-256 ea1ad4027a2555c6a1890ed2f13cdce05f48a0b1ba39c3f0422e461d5a34e5b3

See more details on using hashes here.

File details

Details for the file mcp_server_google_news-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_google_news-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 502fc3df1b7e1cf5b003d2a4e04af50be776decceb63821b0556161811f59e15
MD5 9bcbb85c8694e6054c3d545fb0cd74b7
BLAKE2b-256 0af58ba16dcdeb3fa9348c602ed675b560e72d54e341d6f913343976e10852cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page