MCP.so
登录

News API MCP Server

@kcjonnyc

关于 News API MCP Server

MCP server for NewsAPI integration - enables AI assistants to search articles, get headlines, and browse news sources

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

kcjonnyc

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

3

Search through millions of articles from news sources worldwide.

Get breaking news headlines and top stories.

Discover and filter available news sources.

概览

What is News API MCP Server?

A Model Context Protocol (MCP) server that provides access to news content through the NewsAPI.org service. It enables AI assistants to search articles, get top headlines, and browse news sources.

How to use News API MCP Server?

Install dependencies with npm install, obtain a free NewsAPI key (up to 100 requests/day), configure it in a .env file as NEWS_API_KEY=your_key, build with npm run build, and then add the server to your MCP settings (e.g., ~/.cursor/mcp.json) using the command npm run start with proper path.

Key features of News API MCP Server

  • Search through millions of articles from worldwide sources
  • Get breaking news headlines and top stories
  • Discover and filter available news sources
  • Configurable via environment variable and MCP settings
  • Test integration with dedicated test command

Use cases of News API MCP Server

  • AI assistants answering current events questions
  • Automatically fetching latest headlines on specific topics
  • Exploring available news sources by category or language

FAQ from News API MCP Server

What API key is required and what are its limits?

A free API key from NewsAPI.org, limited to 100 requests per day.

How do I configure and start the server?

Set the NEWS_API_KEY environment variable in a .env file, then add the server entry to your MCP settings JSON as described in the README.

What tools does the server expose?

Three tools: searchArticles, getTopHeadlines, and getSources.

What are the system requirements?

Node.js and npm are required to install dependencies and build the project.

How can I test the NewsAPI integration?

Use the npm run test-api command to verify the API connection.

评论

开发工具 分类下的更多 MCP 服务器