nyt-mcp-server
0
The NYT MCP Server is a unified MCP server interface for interacting with various New York Times APIs. It simplifies access to multiple NYT services through a single endpoint, providing clean responses and real-time updates for seamless integration.
Overview
A Message Concentrator Protocol (MCP) server that provides a unified interface to the New York Times APIs, including:
- Article Search
- Top Stories
- Times Wire (Real-time news)
- Most Popular
- Archive
- Books API
Features
- Access all NYT APIs through a single endpoint
- Clean and simplified API responses
- Real-time news feed updates
- Comprehensive article search capabilities
- Robust error management
- Built-in health check endpoint
- Easy integration with applications
Requirements
- Python 3.8+
- NYT API Key
- Required Python packages
Quick Start
- Clone the repository and navigate into it.
- Create and activate a virtual environment.
- Install dependencies.
- Create a .env file with the NYT API key.
- Run the server.
Endpoints
- POST /mcp/message: Main endpoint for all NYT API interactions.
- GET /health: Health check endpoint.