news-mcp-server logo

news-mcp-server

by anurag-dhamala

MCP server for getting up-to-date news using the newsdata.io API. It allows users to retrieve the latest news based on various criteria such as location, topic, and language.

View on GitHub

Last updated: N/A

MCP server for news-data

MCP server for getting up-to-date news with newsdata.io

https://www.pulsemcp.com/servers/anurag-dhamala-newsdata

Setup

If you clone this repo, then you can use the config below:

{
  "mcpServers": {
    "news": {
        "command": "path_to_your_node",
        "args": [
            "location_to_your_dist/index.js"
        ],
        "env": {
            "NEWS_API_KEY": "API_KEY_FROM_NEWS_DATA",
            "NEWS_BASE_URL": "https://newsdata.io"
        }
    }
  }
}

You can also use <b>npx</b>.

{
  "mcpServers": {
    "news": {
        "command": "path_to_your_npx",
        "args": [
            "news-mcp-server"
        ],
        "env": {
            "NEWS_API_KEY": "API_KEY_FROM_NEWS_DATA",
            "NEWS_BASE_URL": "https://newsdata.io"
        }
    }
  }
}

Example Prompts

Give me latest news from USA trending today.

Give me top news headlines from Nepal in Nepali language.

Give me news sources from Bhutan.

Give me latest news about Lionel Messi.

Give me latest crypto news.

...