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.
Overview
NYT MCP Server is a Message Concentrator Protocol (MCP) server that provides a unified, simple interface to the New York Times APIs, simplifying interaction with multiple NYT APIs through a single endpoint.
To use the NYT MCP Server, clone the repository, set up a virtual environment, install dependencies, configure your NYT API key, and run the server.
- Single Endpoint for all NYT APIs - Clean and formatted API responses - Real-time news updates via Times Wire - Comprehensive article search capabilities - Robust error handling - Built-in health monitoring - Easy integration with applications
- Accessing the latest news articles from various sections.
- Searching for articles based on specific queries.
- Retrieving popular articles over a specified time period.
- Accessing archived articles by date.
- Integrating NYT news data into applications or services.
Add to your AI client
Use these steps to connect NYT MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"nyt-mcp-server-aovabo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nyt-mcp-server-aovabo"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"nyt-mcp-server-aovabo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nyt-mcp-server-aovabo"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"nyt-mcp-server-aovabo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nyt-mcp-server-aovabo"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"nyt-mcp-server-aovabo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nyt-mcp-server-aovabo"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nyt-mcp-server-aovabo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nyt-mcp-server-aovabo"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"nyt-mcp-server-aovabo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nyt-mcp-server-aovabo"
]
}
}
}FAQ
Do I need an API key to use the NYT MCP Server?
Yes, you need to obtain an NYT API key from the NYT Developer Portal.
Is the NYT MCP Server free to use?
Yes, the server is free to use, but you must comply with NYT's API usage policies.
What programming language is used for the NYT MCP Server?
The server is built using Python.