News MCP Server

by jindasy

126 downloads
Not rated
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.

Details

Author
jindasy
Downloads
126
Categories
Other

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

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

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.

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"
        ]
    }
}

News MCP Server

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.