MCP News Server
Fetches news from trusted global sources using NewsAPI and RSS feeds, enabling search, headline retrieval, and source listing.
README
MCP News Server
A Model Context Protocol (MCP) server that fetches news from trusted global sources.
🗞️ Supported News Sources
| Source | ID |
|---|---|
| Reuters | reuters |
| BBC News | bbc |
| Associated Press | associated-press |
| Al Jazeera | al-jazeera |
| The Hindu | the-hindu |
| Times of India | times-of-india |
| CNN | cnn |
| The Guardian | the-guardian |
| New York Times | nytimes |
| Washington Post | washington-post |
🛠️ Available Tools
1. search_news
Search for news articles by keywords.
Keywords: "iran israel" or "climate change"
Sources: Optional filter (e.g., ["reuters", "bbc"])
Max Results: Up to 25 articles
2. get_top_headlines
Get latest headlines from trusted sources.
3. list_news_sources
List all available news sources.
📦 Installation
Step 1: Install Dependencies
cd mcp-news-server
pip install -r requirements.txt
Step 2: Get NewsAPI Key (Recommended)
- Go to https://newsapi.org/register
- Sign up for a free account
- Copy your API key
Step 3: Configure API Key
# Copy example env file
copy .env.example .env
# Edit .env and add your API key
NEWS_API_KEY=your_actual_api_key
Note: The server works without an API key using RSS feeds, but NewsAPI provides better search results.
⚙️ Configuration for VS Code (Copilot)
Add this to your VS Code settings.json:
{
"mcp": {
"servers": {
"news-server": {
"command": "python",
"args": ["c:\\Users\\om.katyarmal.NEUREALM\\Desktop\\New folder (5)\\mcp-news-server\\server.py"],
"env": {
"NEWS_API_KEY": "your_api_key_here"
}
}
}
}
}
⚙️ Configuration for Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"news-server": {
"command": "python",
"args": ["c:\\Users\\om.katyarmal.NEUREALM\\Desktop\\New folder (5)\\mcp-news-server\\server.py"],
"env": {
"NEWS_API_KEY": "your_api_key_here"
}
}
}
}
🚀 Usage Examples
Once configured, you can use these tools in your conversations:
Search for specific news:
"Search news about iran israel conflict"
Get headlines from specific sources:
"Get top headlines from reuters and bbc"
List available sources:
"What news sources are available?"
🔄 How It Works
- Primary Method: Uses NewsAPI.org for comprehensive search across sources
- Fallback Method: If NewsAPI is unavailable, fetches from RSS feeds directly
The server automatically filters results from only trusted, reputable news sources.
📝 License
MIT License - Free to use and modify.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.