mcpField
N
News API MCP Server

News API MCP Server

Local
github.com/kcjonnycDeveloper Tools0Updated 74w ago

About News API MCP Server

News API MCP Server connects AI assistants to news content from NewsAPI.org. It provides tools to search articles, retrieve top headlines, and browse available sources.

Key features

  1. 01Search news articles
  2. 02Retrieve top headlines
  3. 03Browse news sources
  4. 04Authenticate with a NewsAPI key

Use cases

  1. 01Find articles about a topic
  2. 02Check current top headlines
  3. 03Discover news sources for a query

MCP support

Exposes NewsAPI.org article search, headline retrieval, and source browsing as tools for MCP clients. Requires a NewsAPI key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

News API MCP Server

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

Setup

  1. Install dependencies:

    npm install
    
  2. Get a NewsAPI key:

    • Sign up at NewsAPI.org
    • Get your free API key (up to 100 requests/day)
  3. Configure environment: Create a .env file in the project root:

    NEWS_API_KEY=your_api_key_here
    
  4. Build the project:

    npm run build
    

MCP Configuration

Add to your MCP settings (e.g., ~/.cursor/mcp.json):

{
  "mcpServers": {
    "news-mcp": {
      "command": "npm",
      "args": ["run", "start", "--prefix", "/path/to/news_mcp"]
    }
  }
}

Available Tools

  • searchArticles - Search through millions of articles from news sources worldwide.
  • getTopHeadlines - Get breaking news headlines and top stories.
  • getSources - Discover and filter available news sources.

Development

Development mode (with auto-reload):

npm run dev

Build for production:

npm run build
npm start

Test NewsAPI integration:

npm run test-api

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.