NYTimes Article Search MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • 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.

NYTimes 기사 검색 MCP 서버

이는 키워드를 기반으로 최근 30일간의 뉴욕 타임스 기사를 검색할 수 있는 TypeScript 기반 MCP 서버입니다. 다음을 제공하여 핵심 MCP 개념을 보여줍니다.

  • 기사 검색 도구
  • New York Times API와의 통합

특징

도구

  • search_articles - 키워드를 기준으로 지난 30일간의 NYTimes 기사 검색
    • keyword 필수 매개변수로 사용합니다.
    • 제목, 초록, URL, 게시 날짜 및 저자가 포함된 기사 목록을 반환합니다.

개발

종속성 설치:

지엑스피1

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.

npm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 NYTimes Article Search를 자동으로 설치하려면:

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 파일을 만들고 New York Times API 키를 추가하세요.

NYTIMES_API_KEY=your_api_key_here

서버 실행

프로젝트를 빌드한 후 다음을 사용하여 서버를 실행할 수 있습니다.

node build/index.js

서버가 시작되어 stdio를 통해 MCP 요청을 수신합니다.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.

-
security - not tested
A
license - permissive license
-
quality - not tested

이는 키워드를 기준으로 지난 30일간의 New York Times 기사를 검색할 수 있는 TypeScript 기반 MCP 서버입니다.

  1. Features
    1. Tools
  2. Development
    1. Debugging
  3. Installation
    1. Installing via Smithery
    2. Manual Installation
  4. Environment Variables
    1. Running the Server
      1. License
        ID: ylg4ai4vin