news-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@news-mcp-serverWhat are the top headlines in the US?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
news-mcp-server
A FastAPI-based MCP server that exposes NewsAPI.org as structured tools via fastapi-mcp.
Endpoints / MCP Tools
Route | Operation ID (MCP tool name) | Description |
|
| Top headlines filtered by country, category, or source |
|
| Full-text article search with date range and sort options |
|
| Most-read stories right now, filtered by language |
|
| Browse available publishers by category, language, country |
Related MCP server: gnews-mcp-server
Setup
1. Get a NewsAPI key
Sign up at https://newsapi.org/register and copy your API key.
2. Configure environment
cp .env.example .env
# Edit .env and set NEWS_API_KEY=your_key_here3. Install dependencies
pip install -e ".[dev]"4. Run the server
uvicorn news_mcp.main:app --reload
# or
news-mcpThe server starts on http://localhost:8000.
Swagger UI:
http://localhost:8000/docsMCP endpoint:
http://localhost:8000/mcp(auto-mounted by fastapi-mcp)
Use with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"news": {
"command": "uvicorn",
"args": ["news_mcp.main:app", "--port", "8000"],
"env": {
"NEWS_API_KEY": "your_key_here"
}
}
}
}Running tests
pytestTests mock all NewsAPI HTTP calls — no real network traffic or API key required.
Project structure
src/news_mcp/
├── main.py # App factory, MCP mount
├── config.py # pydantic-settings config
├── models/
│ └── schemas.py # All Pydantic request/response models
├── services/
│ └── news_service.py # NewsAPI HTTP logic
└── routes/
├── headlines.py
├── search.py
├── trending.py
└── sources.py
tests/
├── conftest.py
├── test_headlines.py
├── test_search.py
├── test_trending.py
└── test_sources.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA FastAPI application that hosts multiple MCP servers for weather, news, currency, and quotes APIs.Last updated3MIT
- Flicense-qualityFmaintenanceMCP server providing access to the GNews API for fetching news articles and headlines. Supports search and top headlines with advanced filtering by language, country, category, and date.Last updated1
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server that provides real-time news intelligence using NewsAPI.ai. This server enables LLMs to search articles, track events, and analyze news through natural conversation.Last updated321MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides access to global news articles through the News API. It implements a standardized interface for searching news articles, retrieving top headlines, and listing available news sources.Last updated312MIT
Related MCP Connectors
NewsData.io MCP — wraps the NewsData.io global news API (newsdata.io)
Mediastack MCP — wraps Mediastack API (api.mediastack.com/v1)
Currents MCP — wraps the Currents API (currentsapi.services)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaij52/news-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server