MCP.so
登录

News MCP Server

@jindasy

关于 News MCP Server

A simple MCP server for search news articles

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

jindasy

配置

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

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

工具

未检测到工具

工具是从 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.

FAQ from News MCP Server

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

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

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.

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).

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.

Where does the news data come from?

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

评论

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