NYTimes Article Search MCP Server
纽约时报文章搜索 MCP 服务器
这是一个基于 TypeScript 的 MCP 服务器,允许根据关键字搜索过去 30 天的《纽约时报》文章。它通过以下方式演示了 MCP 的核心概念:
文章搜索工具
与纽约时报 API 集成

特征
工具
search_articles- 根据关键字搜索过去 30 天的《纽约时报》文章将
keyword作为必需参数返回包含标题、摘要、URL、发布日期和作者的文章列表
Related MCP server: image-reader MCP Server
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
安装
通过 Smithery 安装
要通过Smithery自动安装 NYTimes Article Search for Claude Desktop:
npx -y @smithery/cli install nyt --client claude手动安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 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"
}
}
}
}环境变量
在项目根目录中创建一个.env文件并添加您的纽约时报 API 密钥:
NYTIMES_API_KEY=your_api_key_here运行服务器
构建项目后,您可以使用以下命令运行服务器:
node build/index.js服务器将启动并通过 stdio 监听 MCP 请求。
执照
该项目已获得 MIT 许可。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
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.125563MIT
- AlicenseAqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing creation and management of text notes with URIs and metadata.413MIT
- 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.571648MIT
Related MCP Connectors
NYT MCP — wraps The New York Times Developer APIs (developer.nytimes.com)
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
MCP server for generating rough-draft project plans from natural-language prompts.
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