MCP.so
登录

News AI MCP Server

@Mohammadshahzaib007

基本信息

分类

其他

传输方式

stdio

作者

Mohammadshahzaib007

关于 News AI MCP Server

暂无概览

#news-ai#mcp-server#news-summarizer

News AI MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "news-ai-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "install",
        "main.py"
      ]
    }
  }
}

News AI MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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 dotenv for 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

常见问题

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.

评论

其他 分类下的更多 MCP 服务器