MCP.so
登录

News MCP Server

@jindasy

基本信息

分类

其他

传输方式

stdio

作者

jindasy

关于 News MCP Server

A simple MCP server for search news articles

News MCP Server 配置

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

{
  "mcpServers": {
    "news": {
      "command": "uv",
      "args": [
        "--directory",
        "/PATH/TO/YOUR/news",
        "run",
        "news.py"
      ]
    }
  }
}

News MCP Server 工具

工具列表暂未提供

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

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

概览

What is News MCP Server?

It is a FastMCP server that fetches news articles from NewsAPI.org. It provides a single tool get_news() for querying articles by keyword, date range, and news source. It is intended for developers using MCP-compatible clients such as Claude Desktop.

How to use News MCP Server?

Obtain an API key from NewsAPI.org. Then add the server configuration to your claude_desktop_config.json using the uv command pointed at the server directory. Once configured, invoke the get_news() tool from your MCP client.

Key features of News MCP Server

  • Search news articles by keyword (q).
  • Filter results by date range (from, to).
  • Filter results by specific news source (sources).
  • Default news source is abc-news.

Use cases of News MCP Server

  • Fetch recent news about a specific topic or event.
  • Query news from a particular source, like ABC News.
  • Retrieve articles published within a custom date window.

常见问题

1

How do I get an API key for News MCP Server?

You must sign up at NewsAPI.org to obtain a free API key.

2

How do I configure News MCP Server with Claude Desktop?

Add an entry to your `claude_desktop_config.json` under `mcpServers` with command `uv` and arguments pointing to the server's directory and script.

3

What parameters does the `get_news()` tool accept?

It accepts `q` (keyword), `from` (start date), `to` (end date), and `sources` (news source; defaults to `abc-news`).

4

Does News MCP Server require any runtime dependencies?

Yes. It requires FastMCP and the `uv` package manager. The server is run as a Python script.

5

Where does the news data come from?

All articles are fetched from the NewsAPI.org service. No local storage is used.

评论

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