
mcp news server
mcp server of a realtime news api
Repository Info
About This Server
mcp server of a realtime news api
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
- Clone the repository:
git clone https://github.com/yourusername/mcp-news-server.git
cd mcp-news-server
- Install dependencies:
npm install
- Create a
.envfile 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
Quick Start
Clone the repository
git clone https://github.com/devjiel/mcp-news-serverInstall dependencies
cd mcp-news-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.