New York Times

by angheljf

14 stars
Not rated
GitHub

About

Search for New York Times articles from the last 30 days using a keyword.

Details

Author
angheljf
Repository
angheljf/nyt
GitHub stars
14
License
MIT License
Categories
Search, Knowledge Base, Other, AI, Design, Developer Tools, Infrastructure, Security, Frontend

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name New York Times
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 path/to/your/build/index.js
    Environment
    • NYTIMES_API_KEY your_api_key_here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To install NYTimes Article Search for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install nyt --client claude

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"
      }
    }
  }
}

Create a .env file in the root of your project and add your New York Times API key:

NYTIMES_API_KEY=your_api_key_here

After building the project, you can run the server with:

node build/index.js

The server will start and listen for MCP requests over stdio.

search_articles

Search NYTimes articles from the last 30 days based on a keyword. Takes 'keyword' as a required parameter and returns a list of articles with title, abstract, URL, published date, and author.

- search_articles - Search NYTimes articles from the last 30 days based on a keyword
- Takes keyword as a required parameter
- Returns a list of articles with title, abstract, URL, published date, and author

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "new york times": {
            "env": {
                "NYTIMES_API_KEY": "your_api_key_here"
            },
            "args": [
                "path/to/your/build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "NYTIMES_API_KEY": "your_api_key_here"
    },
    "args": [
        "path/to/your/build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "NYTIMES_API_KEY": "your_api_key_here"
    },
    "args": [
        "path/to/your/build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "NYTIMES_API_KEY": "your_api_key_here"
    },
    "args": [
        "path/to/your/build/index.js"
    ],
    "command": "node"
}

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

- search_articles- Search NYTimes articles from the last 30 days based on a keyword

- Takeskeywordas a required parameter
- Returns a list of articles with title, abstract, URL, published date, and author

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using theMCP Inspector, which is available as a package script:

The Inspector will provide a URL to access debugging tools in your browser.

To install NYTimes Article Search for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install nyt --client claude

To use with Claude Desktop, add the server config:

On MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonOn 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" } } } }

Create a.envfile in the root of your project and add your New York Times API key:

After building the project, you can run the server with:

The server will start and listen for MCP requests over stdio.

This project is licensed under the MIT License.

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

Fetch, convert, and search AWS documentation pages, with recommendations for related content.

Search campgrounds around the world on campertunity, check availability, and provide booking links.

The Ferryhopper MCP Server exposes ferry routes, schedules and booking redirects so an AI assistant can discover connections across Europe and the Mediterranean and send users to Ferryhopper to complete bookings.

All-in-One SEO & Web Intelligence Toolkit API from FetchSERP.

MCP server that provides read-only access to HyperKitty, the web-based email archive component of Mailman 3.

At Sunrise Apps, we believe AI agents should be limitless, especially when it comes to visual data. We created ImageSorcery to bridge the critical gap in AI's ability to interact with and manipulate images directly, all while upholding the highest standards of privacy and security.

Just Domain is the domain registrar for businesses built with AI. Its remote MCP server checks availability and returns first-year and renewal pricing, plus a link to register on justdomain.ai, with DNS and WHOIS privacy in the same place. No account, no API key, read only. Endpoint: https://mcp.justdomain.ai/

Research tools, including a Sqlite-backed document stash

Semantic search over 9 free-license stock photo sources. Hosted remote server with OAuth — no API key to paste.

SerpApi MCP Server for Google and other search engine results

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.