NYTimes Article Search MCP Server logo

NYTimes Article Search MCP Server

by angheljf

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 and integration with the New York Times API.

View on GitHub

Last updated: N/A

What is NYTimes Article Search MCP Server?

The NYTimes Article Search MCP Server is a tool that allows users to search for articles from the New York Times API based on a keyword. It is designed to be used with Model Context Protocol (MCP) compatible clients, such as Claude Desktop.

How to use NYTimes Article Search MCP Server?

To use the server, you need to install it either via Smithery or manually. Manual installation involves configuring the claude_desktop_config.json file with the server's command and arguments, and setting the NYTIMES_API_KEY environment variable. Once installed, the server can be accessed through an MCP client by calling the search_articles tool with a keyword.

Key features of NYTimes Article Search MCP Server

  • Search NYTimes articles from the last 30 days

  • Uses the New York Times API

  • Returns articles with title, abstract, URL, published date, and author

  • Compatible with MCP clients like Claude Desktop

Use cases of NYTimes Article Search MCP Server

  • Finding relevant news articles based on a specific topic

  • Gathering information for research purposes

  • Integrating news search functionality into other applications

  • Staying up-to-date on current events

FAQ from NYTimes Article Search MCP Server

What is an MCP server?

MCP stands for Model Context Protocol. It's a protocol for communication between applications and AI models.

How do I get a New York Times API key?

You can obtain an API key by signing up for a developer account on the New York Times Developer Network.

What is Smithery?

Smithery is a platform that simplifies the installation and management of MCP servers.

Can I use this server with other MCP clients besides Claude Desktop?

Yes, as long as the client supports the Model Context Protocol.

What happens if the New York Times API is unavailable?

The server will likely return an error message indicating that it could not connect to the API. You should check the status of the NYTimes API and try again later.