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.
开发工具 分类下的更多 MCP 服务器
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
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
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
评论