MCP.so
登录

MCP server for news-data

@anurag-dhamala

基本信息

分类

数据与分析

传输方式

stdio

作者

anurag-dhamala

关于 MCP server for news-data

暂无概览

MCP server for news-data 配置

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

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

MCP server for news-data 工具

工具列表暂未提供

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

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

概览

What is MCP server for news-data?

A Model Context Protocol server that integrates with the NewsData.io API to fetch up-to-date news articles and headlines. It is designed for developers building AI applications that need real-time news retrieval by region, topic, language, or source.

How to use MCP server for news-data?

Configure the server in your MCP settings JSON using either a cloned repo or NPX. Requires a NewsData.io API key set in the NEWS_API_KEY environment variable and the base URL NEWS_BASE_URL for newsdata.io. The server is then invoked by the name news in prompts like "Give me latest news from USA trending today."

Key features of MCP server for news-data

  • Real‑time news from the NewsData.io API
  • Region‑specific queries (e.g., “USA”, “Nepal”)
  • Language‑filtered headlines (e.g., Nepali language)
  • News source listing by country (e.g., Bhutan)
  • Topic‑based search (e.g., people, cryptocurrency)

Use cases of MCP server for news-data

  • Fetch trending news from a specific country for daily briefings
  • Get headlines in a native language (e.g., Nepali) for localized applications
  • List available news sources in a country for content aggregation
  • Search for news about a person or topic (e.g., Lionel Messi, crypto)

常见问题

1

What does this server do?

It provides an MCP interface to the NewsData.io API, allowing AI models to retrieve current news articles by country, language, topic, or source.

2

How do I set it up?

You need a NewsData.io API key. Set the environment variables `NEWS_API_KEY` and `NEWS_BASE_URL` in your MCP configuration, then use the `news` server name.

3

What runtime does it require?

It requires Node.js to run. You can use either a locally cloned repo (point to `dist/index.js`) or invoke it via NPX with the package `news-mcp-server`.

4

What kind of queries does it support?

You can ask for latest news from a country, top headlines in a specific language, news sources from a country, or news about any topic or person.

5

Does it store any data?

No. All data is fetched live from the NewsData.io API based on your prompts; the server does not persist or cache news locally.

评论

数据与分析 分类下的更多 MCP 服务器