NYTimes Article Search MCP Server
The NYTimes Article Search MCP Server allows you to search for New York Times articles published within the last 30 days. With this server, you can:
Search for articles using specified keywords
Retrieve article details including title, abstract, URL, published date, and author information
Integrate with Claude Desktop using Smithery or manual configuration
Access debugging support via the MCP Inspector during development
Utilize the New York Times API for fetching article data
Enables configuration through environment variables stored in a .env file, specifically for storing and accessing the New York Times API key.
Provides tools for searching New York Times articles from the last 30 days based on keywords, returning article details including title, abstract, URL, published date, and author.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NYTimes Article Search MCP Serversearch for recent articles about climate change"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NYTimes Article Search MCP Server
This is a TypeScript-based MCP server that allows searching for New York Times articles from the last 30 days based on a keyword. It demonstrates core MCP concepts by providing:
Tools for searching articles
Integration with the New York Times API

Features
Tools
search_articles- Search NYTimes articles from the last 30 days based on a keywordTakes
keywordas a required parameterReturns a list of articles with title, abstract, URL, published date, and author
Related MCP server: image-reader MCP Server
Development
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchDebugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
Installation
Installing via Smithery
To install NYTimes Article Search for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install nyt --client claudeManual Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"nyt": {
"command": "node",
"args": ["path/to/your/build/index.js"],
"env": {
"NYTIMES_API_KEY": "your_api_key_here"
}
}
}
}Environment Variables
Create a .env file in the root of your project and add your New York Times API key:
NYTIMES_API_KEY=your_api_key_hereRunning the Server
After building the project, you can run the server with:
node build/index.jsThe server will start and listen for MCP requests over stdio.
License
This project is licensed under the MIT License.
Available Tools
1 toolsearch_articlesC
Search NYTimes articles from the last 30 days based on a keyword
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Keyword to search for in articles |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the 30-day time constraint, which is useful, but fails to describe critical behaviors such as response format, pagination, error handling, or any rate limits. For a search tool with zero annotation coverage, this leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core functionality without unnecessary words. Every part ('Search NYTimes articles from the last 30 days based on a keyword') contributes directly to understanding the tool's purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete. It covers the basic purpose and time constraint but omits details on behavioral traits, response structure, and usage guidelines. For a search tool, this leaves the agent with insufficient context to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'keyword' well-documented in the schema. The description adds minimal value by implying keyword-based filtering but doesn't provide additional semantics like search syntax or examples. Baseline 3 is appropriate when the schema handles parameter documentation effectively.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Search NYTimes articles') and resource ('articles'), specifying the scope ('from the last 30 days') and filtering criteria ('based on a keyword'). It lacks sibling tool differentiation, but since there are no sibling tools, this doesn't reduce clarity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides basic context (searching recent articles by keyword) but offers no explicit guidance on when to use this tool versus alternatives, prerequisites, or exclusions. Without siblings, the need for differentiation is lower, but it still lacks usage context like rate limits or authentication needs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'search_articles' has a clearly defined and distinct purpose.
The single tool name follows a clear verb_noun pattern ('search_articles'), and with only one tool, there is no inconsistency to evaluate. The naming is straightforward and appropriate.
One tool is too few for a server with the apparent scope of 'NYTimes Article Search,' which suggests a domain that could benefit from additional operations like filtering by date, retrieving article details, or accessing different sections. A single search tool feels thin and limits functionality.
The tool surface is severely incomplete for the domain. While search is a core function, there are obvious gaps such as the inability to retrieve full article content, filter beyond keywords, or access other NYTimes data like sections or authors. This will likely cause agent failures when more comprehensive interactions are needed.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
An MCP server that provides congressional transcripts
MCP server for searching Airweave collections with natural language queries.
NYT MCP — wraps The New York Times Developer APIs (developer.nytimes.com)
Related MCP Servers
- AlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.121,0283MIT
- AlicenseAqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing creation and management of text notes with URIs and metadata.49MIT
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.23
- AlicenseDqualityAmaintenanceA TypeScript-based MCP server that enables users to query financial news, stock data, and index information while managing text notes with creation and summarization capabilities.575656MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/angheljf/nyt'
If you have feedback or need assistance with the MCP directory API, please join our Discord server