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 ライセンスに基づいてライセンスされています。
You must be authenticated.
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
- -securityAlicense-qualityThis MCP server performs multi-topic searches in business, news, finance, and politics using the Tavily API, providing high-quality sources and intelligent summaries.Last updated -11PythonMIT License
- AsecurityAlicenseAqualityA TypeScript-based MCP server utilizing the UseScraper API to provide web scraping capabilities, allowing users to extract content from webpages in various formats.Last updated -11JavaScriptMIT License
- AsecurityAlicenseAqualityA TypeScript-based MCP server that interacts with Contentful's Delivery API, enabling users to create, query, and summarize text notes through natural language.Last updated -266TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables searching various content types (news, blogs, shopping, images, etc.) through Naver's search API.Last updated -197309TypeScriptMIT License