Google News MCP Server
SerpAPI 統合により Google ニュース検索機能を提供する、モデルコンテキストプロトコル(MCP)サーバー実装。ニュース検索結果を自動的に分類し、複数の言語と地域をサポートします。
https://github.com/user-attachments/assets/1cc71c27-f840-4c94-9ab5-460d84ba4779
✨ 特徴
🔍 柔軟な検索オプション
クエリベースの検索、トピック検索、公開フィルタリング、ストーリー範囲などの包括的な検索機能。
🌐 グローバルカバレッジ
設定可能な言語および国コードを通じて複数の言語と地域をサポートします。
📊 スマートな分類
ニュース結果を AI とテクノロジー、ビジネス、科学と研究、ヘルスケアなどのトピックに自動的に分類します。
🔀 複数の結果タイプ
見出し、記事、関連トピック、メニュー リンクなど、さまざまなニュース結果タイプを処理します。
🛠️ 堅牢なエラー処理
API 障害や無効な入力に対する包括的なエラー処理と役立つエラー メッセージ。
🌍 言語サポート
サポートされていない言語コードの場合は、適切なユーザー通知とともに自動的に英語にフォールバックします。
🔑 SERP API セットアップガイド
始める前に、SERP APIキーを取得する必要があります。手順は以下のとおりです。
SERP APIウェブサイトにアクセスしてアカウントを作成してください
登録後、ダッシュボードに移動します。
「APIキー」セクションを見つけます
APIキーをコピーする
新規ユーザーは100回のAPI呼び出しが無料
API 使用の詳細:
無料枠: 月間100回の検索
有料プランは月額50ドルからで、検索回数は5000回まで。
成功したAPI呼び出しに基づく課金
複数の支払い方法: クレジットカード、PayPal など。
使用制限:
リクエストレート: 2 リクエスト/秒
IP制限: なし
同時リクエスト数: 5
レスポンスキャッシュ時間: 1時間
👩🔧 NVM/NPM を使用した MCP サーバー接続の問題の解決策
私の構成ソリューションを見るにはクリックしてください👉 https://github.com/modelcontextprotocol/servers/issues/76
🚀 クイックスタート
依存関係をインストールします:
npm installサーバーを構築します。
npm run build環境を構成する:
claude_desktop_config.jsonを次の内容で変更します (システムに応じてパスを調整します)。
"google-news": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\github_repository\\path_to\\dist\\index.js"
],
"env": {
"SERP_API_KEY": "your-api-key"
}
}サーバーを起動します。
npm startトラブルシューティング
無効なAPIキー
claude_desktop_config.jsonの API キー設定を確認するSERP APIダッシュボードでAPIキーがアクティブであることを確認します
リクエストの失敗
ネットワーク接続を確認する
API呼び出しのクォータが超過していないことを確認する
リクエストパラメータの形式を検証する
Related MCP server: Google News13 MCP Server
評価の実行
evalsパッケージはmcpクライアントをロードし、index.tsファイルを実行するため、テスト間で再構築する必要はありません。npxコマンドの先頭に環境変数をロードすることもできます。完全なドキュメントはこちらでご覧いただけます。
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.ts📦 インストール
Smithery経由でインストール
Smithery経由で Claude Desktop に Google ニュースを自動的にインストールするには:
npx -y @smithery/cli install @chanmeng666/google-news-server --client claudemcp-get 経由でインストールする
npx @michaellatman/mcp-get@latest install @chanmeng666/google-news-server古いバージョンの Windows PowerShell を使用している場合は、このコマンドの前に
Set-ExecutionPolicy Bypass -Scope Processを実行する必要がある場合があります。
手動インストール
@chanmeng666/google-news-server
# Using npm
npm i @chanmeng666/google-news-server
# or
npm install @chanmeng666/google-news-server
# Using yarn
yarn add @chanmeng666/google-news-server
# Using pnpm
pnpm add @chanmeng666/google-news-server💻 技術スタック
📖 APIドキュメント
サーバーはモデルコンテキストプロトコルを実装し、次のパラメータを使用して Google ニュース検索ツールを公開します。
q: 検索クエリ文字列gl: 国コード(例:「us」、「uk」)hl: 言語コード (例: 'en'、'es')topic_token: 特定のニューストピックのトークンpublication_token: 特定の出版社のトークンstory_token: ストーリーの完全な報道のためのトークンsection_token: 特定のセクションのトークン
🔧 開発
# Run in development mode with hot reload
npm run dev
# Run linting
npm run lint
# Run tests
npm run test📝 ライセンス
このプロジェクトはMIT ライセンスです。
🙋♀ 著者
Chan Mengによって作成および管理されています。
Available Tools
1 toolgoogle_news_searchA
Search Google News for articles and news content. Results will be automatically categorized by topic.
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query | |
| gl | No | Country code (e.g., us, uk) | us |
| hl | No | Language code (e.g., en) | en |
| story_token | No | Story token for full coverage of a story | |
| topic_token | No | Topic token for specific news topics | |
| section_token | No | Section token for specific sections | |
| publication_token | No | Publication token for specific publishers |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that results are automatically categorized by topic, adding some behavioral context, but lacks details on rate limits, authentication, or mutation implications.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short, front-loaded sentences with no wasted words. Every sentence adds value: the first states the action, the second adds a behavioral trait.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 7 parameters and no output schema or annotations, the description is too brief. It does not explain return format, pagination, or how to use the various tokens (story, topic, section, publication). A user would need external knowledge.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all 7 parameters. The description does not add meaning beyond the schema, meeting the baseline for high coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb (Search) and resource (Google News for articles and news content), and adds that results are categorized by topic, which distinguishes it from generic web searches.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for searching news but provides no explicit guidance on when to use this tool versus alternatives or when not to use it. It relies on self-evident purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v1.0.1- First observed
google_news_search
TDQS
With only one tool, there is no possibility of confusion between tools. The tool's purpose is clearly stated.
Single tool follows a clear and conventional naming pattern; no inconsistencies exist.
A single tool for a news search server is too minimal. Users expect additional functionality such as filtering by category or retrieving article details.
The tool only provides search capability, missing essential news operations like reading full articles, date filtering, or topic-specific queries.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Google News headlines, sources, and links via the Apify Google News API, hosted MCP.
12 Google News endpoints. Pay per call in USDC via x402.
Cross-source news (AP, BBC, NPR, HN, Google News) with topic filtering and dedup.
MCP server for Google search results via SERP API
Related MCP Servers
- AlicenseBqualityDmaintenanceThis server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.1753Apache 2.0
- AlicenseBqualityDmaintenanceProvides 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.11MIT
- FlicenseNot gradedqualityFmaintenanceMCP server providing access to the GNews API for fetching news articles and headlines. Supports search and top headlines with advanced filtering by language, country, category, and date.1-
- FlicenseNot gradedqualityCmaintenanceA server that provides tools to search news articles and fetch top headlines using the GNews API.-
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChanMeng666/server-google-news'
If you have feedback or need assistance with the MCP directory API, please join our Discord server