MCP News API Server
@matteoantoci
MCP News API Server について
An MCP server exposing News API endpoints for searching and retrieving news articles. Provides reliable, easy-to-use tools for integrating news data into applications and workflows, with robust error handling and secure API key management.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-newsapi": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP News API Server?
A Model Context Protocol (MCP) server that exposes endpoints from the News API to search for and retrieve news articles. It allows programmatic access to news data via the MCP protocol, intended for use with MCP-compatible clients.
How to use MCP News API Server?
Install dependencies with npm install, build with npm run build, set the NEWSAPI_KEY environment variable, and run via node build/index.js or through an MCP runner configured with stdio transport. The server exposes two tools: search_articles and get_top_headlines.
Key features of MCP News API Server
- Searches news articles via the News API “Everything” endpoint.
- Fetches top headlines via the News API “Top Headlines” endpoint.
- Supports filtering by keywords, sources, domains, language, date range, and country.
- Allows sorting by relevancy, popularity, or published date.
- Provides pagination with configurable page size and page number.
Use cases of MCP News API Server
- Automated news monitoring and aggregation for research or dashboards.
- Building a custom news feed filtered by topic, source, or language.
- Integrating breaking news or trending headlines into applications or workflows.
FAQ from MCP News API Server
What are the runtime requirements?
Node.js v18 or later and npm are required.
How do I provide my News API key?
Set the NEWSAPI_KEY environment variable before running the server, or configure it in your MCP runner's environment settings.
Where does the data come from?
All data is fetched from the News API (newsapi.org); the server itself does not store any articles.
What transport does the server use?
The server communicates via stdio transport, making it compatible with MCP runners that support that transport type.
How are errors handled?
The server provides error messages based on the News API response, including the API error message and code if available.
「開発者ツール」の他のコンテンツ
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
コメント