Basic information
About π° News AI MCP Server
# π° News AI MCP Server
π° News AI MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by Mohammadshahzaib007. Supported transport: stdio. Runtime: python. Source code is hosted on github.com. Related topics: mcp-server, news-ai, news-summarizer.
Setup
{
"mcpServers": {
"news-ai-mcp-server": {
"command": "uv",
"args": [
"run",
"mcp",
"install",
"main.py"
]
}
}
}
{
"mcpServers": {
"news-ai-mcp-server": {
"command": "uv",
"args": [
"run",
"mcp",
"install",
"main.py"
]
}
}
}
{
"servers": {
"news-ai-mcp-server": {
"command": "uv",
"args": [
"run",
"mcp",
"install",
"main.py"
]
}
}
}
π° News AI MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"news-ai-mcp-server": {
"command": "uv",
"args": [
"run",
"mcp",
"install",
"main.py"
]
}
}
}
π° News AI MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is π° News AI MCP Server?
A minimal Python-based MCP server that connects to NewsAPI.org to fetch and summarize the latest top headlines by country, category, and search query. It is built with the Python MCP SDK and uses uv for environment management.
How to use π° News AI MCP Server?
Clone the repo, install dependencies with uv, create a .env file with API_KEY from NewsAPI.org, then run uv run mcp install main.py. The server can be tested from any MCP client.
Key features of π° News AI MCP Server
- Fetch top headlines by country code, category, or search query
- Summarizes news with title, description, author, and source
- Includes a test greeting resource for verifying server communication
- Easily integratable into MCP clients
- Uses
dotenvfor managing the API key securely
Use cases of π° News AI MCP Server
- Monitor technology news in the US using category and country filters
- Get daily headlines for a specific country like India
- Search for breaking stories on any keyword
- Build a custom news feed inside an MCPβcompatible assistant
Frequently asked questions
1 What data source does the server use?
It connects to NewsAPI.org, which provides access to news headlines and articles.
2 How do I set up the API key?
Create a .env file in the project root and add API_KEY=your_newsapi_org_api_key. The server reads it using python-dotenv.
3 What runtime or dependencies are required?
The server requires Python and the uv package manager. All other dependencies (MCP SDK, dotenv, etc.) are installed automatically via uv.
4 How was the server tested?
It was tested using a cloud desktop client connected via the MCP protocol.
5 Does the server require any authentication beyond the API key?
No. The only authentication needed is the NewsAPI.org API key stored in the .env file.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In