Global News MCP Server

Global News MCP Server

Enables global news retrieval across multiple countries and categories (world, country, technology, science) via RSS feeds, exposing reusable MCP tools for fetching and searching news articles with no API keys required.

Category
访问服务器

README

🌍 Global News MCP Server

Python MCP Streamlit RSS

A Model Context Protocol (MCP) powered global news application that collects news from multiple countries and categories using RSS feeds and exposes them as reusable MCP tools.

The project contains:

  • 🧠 MCP Server for news intelligence
  • 🌐 Streamlit web interface
  • 📰 RSS-based news aggregation
  • 🔎 Global news search
  • 🌍 Country-based filtering
  • 💻 Technology and science news categories

No API keys are required.


✨ Features

🌎 Global News

Fetch worldwide news from trusted RSS sources:

  • BBC World
  • The Guardian

🌍 Country News

Get news by country:

Country Sources
🇮🇳 India The Hindu, Times of India
🇺🇸 USA CNN
🇬🇧 UK BBC UK
🇨🇦 Canada CBC
🇦🇺 Australia ABC Australia
🇩🇪 Germany DW
🇫🇷 France France24

💻 Technology News

Technology updates from:

  • TechCrunch
  • The Verge

🚀 Science News

Science and space updates from:

  • NASA
  • Science Daily

🔎 Global Search

Search news articles across multiple RSS feeds.

Examples:

Artificial Intelligence
Space
Climate Change
Robotics
Technology

🏗️ Architecture

                    User
                     |
                     |
              Streamlit UI
                     |
                     |
                MCP Client
                     |
                     |
                MCP Server
                     |
          -----------------------
          |                     |
    News Service            MCP Tools
          |
          |
     RSS Feed Sources
          |
          |
    Structured JSON Response

🔌 MCP Tools

The MCP Server exposes these tools:


get_global_news()

Returns latest worldwide news.

Example response:

[
 {
  "source": "BBC World",
  "title": "Latest World News",
  "summary": "News summary",
  "link": "article url"
 }
]

get_country_news(country)

Fetch news from a specific country.

Example:

get_country_news("India")

Returns:

[
 {
  "source": "The Hindu",
  "title": "India News",
  "summary": "...",
  "link": "..."
 }
]

get_technology_news()

Returns technology-related articles.

Sources:

  • TechCrunch
  • The Verge

get_science_news()

Returns science-related articles.

Sources:

  • NASA
  • Science Daily

search_news(keyword)

Searches across available RSS feeds.

Example:

search_news("AI")

📂 Project Structure

news-mcp/

│
├── app.py                    # Streamlit frontend
│
├── requirements.txt          # Dependencies
│
├── mcp_server/
│   │
│   ├── __init__.py
│   ├── server.py             # MCP server and tools
│   └── news_service.py       # RSS processing logic
│
└── components/
    │
    ├── __init__.py
    └── cards.py              # News UI components

🛠️ Tech Stack

Backend

  • Python 3.11
  • Model Context Protocol (MCP)
  • FastMCP
  • Feedparser

Frontend

  • Streamlit

Data Sources

RSS feeds from:

  • BBC
  • The Guardian
  • The Hindu
  • CNN
  • CBC
  • DW
  • France24
  • TechCrunch
  • NASA
  • Science Daily

⚙️ Installation

Clone Repository

git clone https://github.com/kevin-arock/news-mcp.git

Navigate:

cd news-mcp

Create Virtual Environment

python -m venv venv

Activate environment.

Windows

venv\Scripts\activate

Linux / Mac

source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

▶️ Run Application

Start Streamlit:

streamlit run app.py

Application opens at:

http://localhost:8501

🔄 Application Flow

User selects news category
            |
            |
      Streamlit Interface
            |
            |
        MCP Client
            |
            |
        MCP Server
            |
            |
       News MCP Tools
            |
            |
       RSS News Sources
            |
            |
      JSON News Response
            |
            |
        UI Cards

💡 Why MCP?

Instead of directly connecting the UI to data sources, MCP creates a reusable tool layer.

Advantages:

✅ AI agents can discover and call tools
✅ Backend capabilities are separated from UI
✅ Multiple AI clients can use the same tools
✅ External data sources can be integrated easily


🎯 Interview Overview

"I built a Global News MCP Server that exposes news retrieval capabilities as MCP tools. The server collects RSS feeds from different countries, processes them into structured JSON responses, and allows a Streamlit MCP client to consume those tools. This demonstrates how AI applications can use MCP as a standard way to connect with external capabilities."


🚀 Future Improvements

Planned enhancements:

  • 🤖 AI-powered article summarization
  • 🌐 Multi-language translation
  • 🧠 Semantic search using embeddings
  • 📊 News sentiment analysis
  • 🔔 Personalized news recommendations
  • 💬 Chat-based AI news assistant
  • 🔗 Integration with AI clients supporting MCP

👨‍💻 Author

Arockia Kevin J

GitHub:

https://github.com/kevin-arock


⭐ Support

If you like this project, consider giving it a ⭐ on GitHub.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选