📰 News AI MCP Server
Description
# 📰 News AI MCP Server  A minimal Python-based MCP server that connects to [NewsAPI.org](https://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…
About
# 📰 News AI MCP Server  A minimal Python-based MCP server that connects to [NewsAPI.org](https://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…
Details
- Author
- Mohammadshahzaib007
- Downloads
- 217
- Categories
- Other
Jump to
- 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 dotenv for managing the API key securely
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
📰 News AI MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83d\udcf0 news ai mcp server": {
"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"
]
}
}
📰 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)
- 🧠 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.
---
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



