MCP News API Server
@matteoantoci
About 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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-newsapi": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Developer Tools MCP servers
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
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
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
Comments