About 📰 News AI MCP Server
News AI MCP Server is a Python server that fetches and summarizes NewsAPI.org headlines by country, category, or search query. It is for MCP clients that need concise headline details, including descriptions and source attribution.
Key features
- 01Fetch headlines by country
- 02Filter headlines by category
- 03Search headlines by query
- 04Summarize titles and descriptions
- 05Include author and source attribution
- 06Provide a test greeting resource
Use cases
- 01Review headlines for a selected country
- 02Track news in a category
- 03Find headlines matching a query
MCP support
It exposes NewsAPI.org headline retrieval and summarization to MCP clients. It also includes a greeting resource for testing server communication.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README📰 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. Built with python mcp SDK, tested on a cloud desktop client, and initialized using uv for environment management.
🚀 Features
- 🌍 Fetch top headlines from NewsAPI.org by:
- Country code (e.g.
us,in) - Category (e.g.
business,technology) - Search query (
q)
- Country code (e.g.
- 🧠 Summarizes the news headlines with:
- Title
- Short description
- Author and source attribution
- 🔧 Includes a test greeting resource for verifying server communication
- ⚙️ Easily integratable into MCP clients
🛠️ Tech Stack
- Python
- MCP SDK for Python (FastMCP)
- NewsAPI.org
- uv — For dependency and environment management
- dotenv — For managing secrets like API keys
📦 Setup
1. Clone the repo
git clone https://github.com/your-username/news-ai-mcp-server.git
cd news-ai-mcp-server
2. Install dependencies
Make sure you have uv installed:
3. Create a .env file
API_KEY=your_newsapi_org_api_key
4. Run the MCP server
uv run mcp install main.py
🧪 Testing
This server was tested using a cloud desktop client connected via the MCP protocol.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.