
What is nyt
nyt is a TypeScript-based MCP (Model Context Protocol) server developed by angheljf. It is designed to facilitate the search for New York Times articles from the past 30 days using specific keywords. This server leverages the New York Times API to deliver relevant articles, showcasing core MCP concepts in action. MCP is a protocol that allows AI systems to securely connect with data sources, enhancing their capabilities by providing real-time information and tools.
How to Use nyt
To use the nyt server, you first need to have it set up and running on your system. The server uses the New York Times API to fetch and provide a list of articles based on a search keyword you supply. Here’s a simple guide to get started:
-
Installation: You can install the server using the Smithery CLI tool or manually configure it for use with Claude Desktop.
-
Configuration: Ensure that you have your New York Times API key ready. Add this key to a
.env
file in the root of your project directory to allow the server to authenticate requests to the New York Times API. -
Running the Server: Once installed and configured, you can start the server using Node.js. The server listens for requests and processes them to fetch articles from the New York Times.
-
Searching Articles: Use the
search_articles
tool provided by the server. You will need to supply akeyword
as a parameter. The server will return a list of articles, including the title, abstract, URL, published date, and author.
Key Features of nyt
-
Article Search Tool: The
search_articles
tool is the primary feature of the nyt server. It allows users to search for New York Times articles from the last 30 days using a keyword. This tool simplifies the process of finding relevant articles quickly and efficiently. -
Integration with New York Times API: The server seamlessly integrates with the New York Times API, ensuring that the data provided is accurate and up-to-date. This integration also allows access to a wide range of articles, enhancing the server's utility.
-
TypeScript-based Development: Built using TypeScript, the server benefits from type safety and modern JavaScript features, making it reliable and performant.
-
MCP Compatibility: As an MCP server, nyt is designed to work within the Model Context Protocol framework, enabling it to interact with AI systems like Claude. This compatibility allows AI applications to fetch real-time data and enhance their functionality.
-
Open Source: The server is open-source, licensed under the MIT License, which encourages community collaboration and improvements.
With these features, the nyt server stands out as a powerful tool for accessing recent articles from the New York Times, making it an invaluable resource for users seeking timely information.
How to Use
To use the nyt, follow these steps:
- Visit https://github.com/angheljf/nyt
- Follow the setup instructions to create an account (if required)
- Connect the MCP server to your Claude Desktop application
- Start using nyt capabilities within your Claude conversations
Additional Information
Created
March 12, 2025
Company
Related MCP Servers
Start building your own MCP Server
Interested in creating your own MCP Server? Check out the official documentation and resources.
Learn More