Basic information
About NYT MCP Server
A Message Concentrator Protocol (MCP) server that provides a unified, simple interface to the New York Times APIs. This server simplifies interaction with multiple NYT APIs through a single endpoint.
NYT MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by aovabo. Supported transport: stdio. Runtime: python. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"nyt-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"mcpServers": {
"nyt-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
{
"servers": {
"nyt-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
NYT MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"nyt-mcp-server": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}
NYT MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is NYT MCP Server?
NYT MCP Server is a Message Concentrator Protocol (MCP) server that provides a unified, simple interface to multiple New York Times APIs, including Article Search, Top Stories, Times Wire, Most Popular, Archive, and Books API, through a single endpoint. It simplifies interaction with these NYT APIs for developers building news-related applications.
How to use NYT MCP Server?
Clone the repository, create and activate a Python virtual environment, install dependencies from requirements.txt, create an .env file with your NYT API key and server configuration, then run python src/server.py. The server exposes a POST endpoint at /mcp/message for all NYT API interactions and a GET /health endpoint for monitoring.
Key features of NYT MCP Server
- Single endpoint for all NYT API interactions
- Clean, formatted API responses
- Real-time news feed via Times Wire
- Flexible article search capabilities
- Built-in health check endpoint
- Robust error handling
Use cases of NYT MCP Server
- Fetch top stories from specific NYT sections
- Search for articles by query and sort order
- Retrieve real-time news updates via Times Wire
- Access bestseller lists through the Books API
- Archive retrieval by year and month
Frequently asked questions
1 What APIs does NYT MCP Server support?
It supports Article Search, Top Stories, Times Wire, Most Popular, Archive, and Books API.
2 How do I get a New York Times API key?
Visit the NYT Developer Portal to obtain a free API key.
3 What are the runtime requirements?
Python 3.8+ and a valid NYT API key are required. All other dependencies are listed in requirements.txt.
4 How do I start the MCP server?
Create a .env file with NYT_API_KEY, MCP_PORT, and MCP_HOST variables, then run python src/server.py from the project root.
5 What message types are available for the `/mcp/message` endpoint?
You can use article_search, top_stories, times_wire, most_popular, archive, and books as message_type values.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In