News MCP Server

by jindasy

126 downloads Not rated yet
GitHub

About

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

Explore

- Search news articles by keyword (q).
- Filter by date range (from, to).
- Filter by specific news source (sources, default: abc-news).

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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name News MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Getting an API Key from NewsAPI.org

Add this to your claude_desktop_config.json:

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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

This is a FastMCP server that provides news articles using the NewsAPI.org service.

It exposes a tool get_news() to fetch news based on search query, date range, and news source.

---

Features

- Search news articles by keyword (q).
- Filter by date range (from, to).
- Filter by specific news source (sources, default: abc-news).

Configuration

Getting an API Key from NewsAPI.org

Usage with Claude Desktop

Add this to your claude_desktop_config.json:
{
    "mcpServers": {
        "news": {
            "command": "uv",
            "args": [
                "--directory",
                "/PATH/TO/YOUR/news",
                "run",
                "news.py"
            ]
        },
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.