mcpField
M
MCP News Server

MCP News Server

Local
github.com/devjielSearch0Updated 78w ago

About MCP News Server

MCP News Server connects LLMs to current news data through NewsAPI. It is for applications that need recent news context in model responses.

Key features

  1. 01Integration with NewsAPI
  2. 02Access to current news data
  3. 03News context for LLM responses

Use cases

  1. 01Adding current news context to LLM responses
  2. 02Retrieving recent news for an application

MCP support

Provides MCP clients with access to current news data sourced through NewsAPI.

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

MCP News Server

A Model Context Protocol (MCP) server implementation that extends LLM capabilities with real-time news data integration.

Overview

This MCP server allows Large Language Models to access current news data through NewsAPI integration. It provides real-time context and information to enhance LLM responses with up-to-date news content.

Prerequisites

  • Node.js (v16 or higher)
  • NewsAPI key (get one at https://newsapi.org)
  • GitHub Personal Access Token (for GitHub integration)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/mcp-news-server.git
cd mcp-news-server
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory with your API keys:
NEWS_API_KEY=your_news_api_key_here
GITHUB_PERSONAL_ACCESS_TOKEN=your_github_token_here

Configuration

The MCP server configuration is managed through the mcp.json file. Here's how to configure different servers:

{
  "mcpServers": {
    "news": {
      "command": "node",
      "args": [
        "dist/index.js"
      ],
      "env": {
        "NEWS_API_KEY": "your_news_api_key_here"
      }
    }
  }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support and questions, please open an issue in the GitHub repository or contact the maintainers.

Acknowledgments

  • NewsAPI for providing the news data
  • Model Context Protocol for the server framework
  • All contributors who have helped with the project

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.