SuperAPI AI Directory

nyt

nyt (angheljf/nyt) is a TypeScript-based MCP server used to search articles from The New York Times from the past 30 days by keyword. It provides the search_articles tool and integrates with The New York Times API, returning article titles, abstracts, URLs, publication dates, and authors. It is suitable for MCP-compatible clients such as Claude Desktop, and can be installed automatically via Smithery or configured manually. The project uses the MIT License.

Open website

About this tool

nyt (repository name angheljf/nyt) is a TypeScript-based MCP (Model Context Protocol) server whose main purpose is to enable MCP-compatible clients to retrieve articles from The New York Times from the past 30 days by keyword.

Main capabilities: it provides the article search tool search_articles, which takes a keyword as a required parameter and returns a list of articles including titles, abstracts, URLs, publication dates, and authors. The server integrates with The New York Times API.

How to use: dependencies must first be installed and the server built; during development, an automatic rebuild mode can be used. Because MCP servers communicate via stdio, debugging can be difficult, and the official recommendation is to use MCP Inspector for debugging. This tool can be used through package scripts, and Inspector provides a URL for accessing the debugging tool in a browser. There are two installation methods: first, automatically install NYTimes Article Search for Claude Desktop via Smithery; second, install manually by adding the server configuration to the Claude Desktop configuration file (the MacOS path is ~/Library/Application Support/Claude/claude_desktop_config.json, and the Windows path is %APPDATA%/Claude/claude_desktop_config.json). Environment variables also need to be set: create a .env file in the project root directory and fill in The New York Times API key. After the build is complete, the server can be run, and the server will start and listen for MCP requests via stdio.

Applicable scenarios: suitable for users or developers who need to query recent articles from The New York Times in MCP-compatible clients (such as Claude Desktop).

Limitations: it only supports searching articles from The New York Times from the past 30 days; before use, you need to obtain a New York Times API key yourself; the project uses the MIT License. More detailed functionality, pricing, or platform information is not currently provided.