NYTimes記事検索MCPサーバー
これはTypeScriptベースのMCPサーバーで、キーワードに基づいて過去30日間のニューヨーク・タイムズの記事を検索できます。以下の機能を提供することで、MCPのコアコンセプトを実証しています。
- 記事検索ツール
- ニューヨークタイムズAPIとの統合
特徴
ツール
search_articles
- キーワードに基づいて過去30日間のNYTimesの記事を検索しますkeyword
必須パラメータとして受け取ります- タイトル、概要、URL、公開日、著者を含む記事のリストを返します。
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop に NYTimes Article Search を自動的にインストールするには:
手動インストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
環境変数
プロジェクトのルートに.env
ファイルを作成し、New York Times API キーを追加します。
サーバーの実行
プロジェクトをビルドした後、次のコマンドでサーバーを実行できます。
サーバーが起動し、stdio 経由で MCP 要求をリッスンします。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
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.
これは、キーワードに基づいて過去 30 日間の New York Times の記事を検索できる TypeScript ベースの MCP サーバーです。
Related MCP Servers
- AsecurityFlicenseAqualityThis TypeScript-based MCP server implements a simple notes system, allowing the creation, listing, and summarization of text notes using MCP concepts with note:// URIs and metadata.Last updated -1JavaScript
- AsecurityFlicenseAqualityA TypeScript-based Model Context Protocol server that fetches, searches, and formats news articles from NewsAPI.org into reader-friendly Markdown digests using LLMs (Gemini and Claude).Last updated -121,227TypeScript
- -securityFlicense-qualityA remote MCP server that enables searching for news articles on specific topics through the Tavily API without requiring authentication.Last updated -TypeScript
- AsecurityAlicenseAqualityA 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.Last updated -534039JavaScriptMIT License