GNews API MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GNews API MCP Server Get the latest technology headlines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GNews API MCP Server
An MCP server implementation that integrates with the GNews API, providing access to the latest news articles across various categories and languages.
GNews API と連携する MCP サーバーの実装で、様々なカテゴリや言語にわたる最新のニュース記事へのアクセスを提供します。
Features
Global News Coverage: Access news from over 60,000 sources worldwide
Multiple Languages: Support for 22 languages including Japanese, English, and more
Category-based News: Access news from different categories like general, business, technology, sports, etc.
Keyword Search: Search for news articles containing specific keywords
Customizable Results: Control the number of results returned
Rich Content: Get article titles, publication dates, links, and content snippets
日本語
グローバルニュースカバレッジ: 世界中の 60,000 以上のソースからニュースにアクセス
複数言語対応: 日本語、英語を含む、22 の言語をサポート
カテゴリベースのニュース: 一般、ビジネス、テクノロジー、スポーツなど、様々なカテゴリのニュースにアクセス
キーワード検索: 特定のキーワードを含むニュース記事を検索
カスタマイズ可能な結果: 返される結果の数を制御
リッチコンテンツ: 記事のタイトル、発行日、リンク、コンテンツスニペットを取得
Related MCP server: Google News13 MCP Server
Tools
search-news
Search for news articles containing specific keywords
Inputs:
keyword(string): Search termlang(string, optional): Language code (default: ja)country(string, optional): Country code (default: jp)max(number, optional): Number of results to return (max 10, default 5)
get-top-headlines
Retrieve the latest top headlines from a specified category
Inputs:
category(string, optional): News category (general, world, nation, business, technology, entertainment, sports, science, health)lang(string, optional): Language code (default: ja)country(string, optional): Country code (default: jp)max(number, optional): Number of results to return (max 10, default 5)
日本語
search-news
特定のキーワードを含むニュース記事を検索
入力パラメータ:
keyword(string): 検索キーワードlang(string, オプション): 言語コード (デフォルト: ja)country(string, オプション): 国コード (デフォルト: jp)max(number, オプション): 返される結果の数 (最大 10、デフォルト 5)
get-top-headlines
指定されたカテゴリの最新トップヘッドラインを取得
入力パラメータ:
category(string, オプション): ニュースカテゴリ (general, world, nation, business, technology, entertainment, sports, science, health)lang(string, オプション): 言語コード (デフォルト: ja)country(string, オプション): 国コード (デフォルト: jp)max(number, オプション): 返される結果の数 (最大 10、デフォルト 5)
Configuration
Getting an API Key
Sign up for a GNews.io account
Choose a plan (Free tier available with 100 requests/day)
Generate your API key
日本語
GNews.io でアカウントを作成
プランを選択(無料プランは 1 日 100 リクエスト)
API キーを生成
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
日本語: claude_desktop_config.json に以下を追加します:
Docker
{
"mcpServers": {
"gnews": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GNEWS_API_KEY", "mcp/gnews"],
"env": {
"GNEWS_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}NPX
{
"mcpServers": {
"gnews": {
"command": "npx",
"args": ["-y", "@bads1de/mcp-server-gnews"],
"env": {
"GNEWS_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Local
{
"mcpServers": {
"gnews": {
"command": "node",
"args": ["path/to/mcp-server-gnews/dist/index.js"],
"env": {
"GNEWS_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Build
Docker build:
# Build the Docker image
docker build -t mcp/gnews:latest .日本語
# Dockerイメージをビルド
docker build -t mcp/gnews:latest .Local build and run:
# Install dependencies
npm install
# Build the project
npm run build日本語
# 依存関係のインストール
npm install
# プロジェクトのビルド
npm run buildExample Queries
Here are some example queries you can use with this server:
Search for news about a specific topic:
Search for news about artificial intelligenceGet top headlines in the technology category:
Get the latest technology headlinesSearch for news in a specific language and country:
Find news about climate change in English from the USGet business news with a limit:
Show me the top 3 business headlines
日本語
特定のトピックに関するニュースを検索:
人工知能に関するニュースを検索テクノロジーカテゴリのトップヘッドラインを取得:
最新のテクノロジーヘッドラインを取得特定の言語と国のニュースを検索:
米国の英語で気候変動に関するニュースを探す上限を指定してビジネスニュースを取得:
ビジネスのトップ3件のヘッドラインを表示
Limitations
The free plan of GNews API is limited to 100 requests per day
The free plan does not include full article content
Commercial use requires a paid subscription
日本語
GNews API の無料プランは 1 日あたり 100 リクエストに制限されています
無料プランには完全な記事コンテンツは含まれません
商用利用には有料サブスクリプションが必要です
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.
日本語
この MCP サーバーは MIT ライセンスの下でライセンスされています。これは、MIT ライセンスの利用規約に従って、ソフトウェアを自由に使用、変更、配布できることを意味します。
Available Tools
2 toolsget-top-headlinesB
Get the latest top headline news for the specified category. Returns a list of articles including title, publication date, link, and description.
Inputs: category, lang, country, max.
search-newsA
Search for news articles by keyword. Returns a list of articles matching the specified keyword, including title, publication date, link, and description.
Inputs: keyword (required), lang, country, max.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one for top headlines by category and one for keyword search. No overlap in functionality.
Both tool names follow a consistent verb-noun pattern using hyphens (get-top-headlines, search-news), making them predictable and easy to differentiate.
With only 2 tools, the server feels thin for a news API, which typically includes more operations like retrieving specific articles or sources. However, the tools cover the core use cases of headline browsing and search.
The tools cover the primary news retrieval operations (headlines and search), but lack features like fetching article details by ID or filtering by source, which are minor gaps.
Related MCP Connectors
Official GNews API server: search news articles and top headlines from 80,000+ sources.
GNews MCP — Global news search via GNews API (gnews.io)
Search global news in natural language. Filter by language, country, date, sentiment, and domain.
Get access to real-time and historical news data including top headlines from global sources
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables searching news articles and retrieving top headlines from the GNews API with support for filtering by topic, language, and country.-
- 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 gradedqualityDmaintenanceEnables searching news articles and fetching top headlines via GNews API with filtering options.-
- FlicenseNot gradedqualityDmaintenanceProvides news search and trending headlines via GNews API with advanced query syntax and authentication.-