MCP News Server
news-mcp MCP サーバー
MCP ニュースサーバー
コンポーネント
リソース
サーバーは、リソース URI を介してデータベースに保存されているニュース記事を公開します。
news://{category}/{limit}: 指定されたカテゴリの最新記事のリストを取得します。{category}: カテゴリ(例:tech、data_science、news)で記事をフィルタリングします。完全なリストについてはツールの説明をご覧ください。{limit}(オプション、デフォルト 10): 返される記事の最大数を指定します。
返される各記事には、タイトル、リンク、公開日、ソースが含まれます。
プロンプト
現在、サーバーはプロンプトを公開していません。(要約ロジックは内部に存在しますが、MCP プロンプト経由では利用できません)。
ツール
サーバーは 1 つのツールを実装します。
summarize_news: データベースから生のニュース記事を取得し、クライアント (LLM) が要約できるようにします。オプションの
category(文字列) とlimit(整数、デフォルトは 20) 引数を取ります。それぞれ
id、title、link、published、source、contentを含む記事辞書のリストを返します。利用可能なカテゴリ:
tech、data_science、llm_tools、cybersecurity、linux、audio_dsp、startups、news、science、research、policy。
Related MCP server: Juhe News MCP Server
構成
サーバーは、 DATABASE_URL環境変数 (デフォルトはpostgresql://localhost/mcp_news ) を介して構成された PostgreSQL データベースに依存します。
news_gatherer.pyスクリプト (個別に実行/スケジュール設定することを目的としたもの) は、さまざまな RSS フィードからデータベースにデータを入力します。
要約ロジック (内部、MCP 経由では公開されません) は、 OPENAI_API_KEY環境変数を介して構成された OpenAI API を使用します。
その他の構成(環境変数またはデフォルト経由):
LOOKBACK_HOURS:news_gatherer.pyが新しい記事を検索する期間 (デフォルト: 6)。SUMMARY_WORD_TARGET: 内部要約の目標単語数 (デフォルト: 500)。MAX_ARTICLES_PER_SUMMARY: 1 つのサマリー バッチに含まれる記事の最大数 (デフォルト: 25)。KEYWORD_FILTER: 内部要約ロジックで使用されるキーワード。
クイックスタート
インストール
クロードデスクトップ
MacOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
発達
建築と出版
配布用のパッケージを準備するには:
依存関係を同期し、ロックファイルを更新します。
uv syncパッケージディストリビューションをビルドします。
uv buildこれにより、 dist/ディレクトリにソースとホイールのディストリビューションが作成されます。
PyPI に公開:
uv publish注: 環境変数またはコマンド フラグを使用して PyPI 資格情報を設定する必要があります。
トークン:
--tokenまたはUV_PUBLISH_TOKENまたはユーザー名/パスワード:
--username/UV_PUBLISH_USERNAMEおよび--password/UV_PUBLISH_PASSWORD
デバッグ
MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用を強くお勧めします。
次のコマンドを使用して、 npm経由で MCP Inspector を起動できます。
npx @modelcontextprotocol/inspector uv --directory ~/dev/news-mcp run news-mcp 起動すると、ブラウザでアクセスしてデバッグを開始できる URL がインスペクタに表示されます。
Available Tools
1 tooladd-noteC
Add a new note
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| content | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'Add a new note' and provides no details on side effects, permissions, return values, or error behavior.
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?
The description is a single short sentence with no wasted words, making it concise and front-loaded. However, it is under-specified for the tool's complexity, though this is largely a completeness issue rather than a conciseness issue.
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?
Given the lack of annotations, output schema, and parameter descriptions, a five-word description is insufficient for an agent to invoke the tool correctly. The meaning of the parameters and expected return behavior remain ambiguous.
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?
The input schema has zero description coverage for the two required parameters ('name' and 'content'), and the description does not explain their meaning or format. The agent cannot infer what 'name' or 'content' represent.
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 uses a specific verb ('Add') and a specific resource ('note'), clearly stating the tool's function. It differentiates itself from the sibling 'get_report', which is a read operation.
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?
No guidance is provided on when to use this tool versus alternatives. The description only states the action without any context about when to invoke it or when to choose a sibling tool.
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.
1 tool update
- First observed
add-note
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'add-note' has a clear and distinct purpose that cannot be mistaken for any other tool in the set.
The single tool name 'add-note' follows a consistent verb-noun pattern, and with only one tool, there is no inconsistency to evaluate. The naming is straightforward and predictable.
A single tool is too few for a server named 'MCP News Server', which implies a broader scope related to news. This minimal toolset suggests an incomplete or trivial implementation that does not adequately cover the expected domain.
The tool surface is severely incomplete for a news server. It only allows adding notes, with no tools for retrieving, updating, deleting, or searching news items, nor any functionality specific to news like fetching headlines or articles. This leaves significant gaps that will cause agent failures.
Maintenance
Related MCP Connectors
Official GNews API server: search news articles and top headlines from 80,000+ sources.
212Get access to real-time and historical news data including top headlines from global sources
Free AI news, ranked stories by section, and trending topics. No authentication required.
31Cross-source news (AP, BBC, NPR, HN, Google News) with topic filtering and dedup.
Related MCP Servers
- AlicenseAqualityFmaintenanceThis server enables users to perform Google News searches with automatic categorization and multi-language support via SerpAPI integration.8150 npm129MIT

Juhe News MCP Serverofficial
FlicenseBqualityCmaintenanceA Model Context Protocol server that enables large language models to access the latest trending news headlines and detailed content across various categories including recommended, domestic, technology, and sports news.2-- AlicenseNot gradedqualityDmaintenanceMCP server that provides Korean and global AI/tech news via 6 tools (categories, search, trending, article reading, daily briefing) without requiring an API key.1MIT
- FlicenseNot gradedqualityDmaintenanceA server that provides tools to search news articles and fetch top headlines using the GNews API.-