This project is a Model Context Protocol (MCP) server that integrates with the Space Flight News API to provide up-to-date spaceflight-related news articles. It exposes tools that can be consumed by AI assistants or other MCP-compatible clients.
- 🔍 Search for space flight news articles by keyword
- 🆕 Retrieve the latest published articles
- 🔌 Compatible with any tool consuming MCP via stdio transport
- 📦 Built using TypeScript,
node-fetch, andzod
- Node.js v18 or later
- npm (or yarn)
git clone https://github.com/your-username/space-flight-news-mcp.git
cd space-flight-news-mcp
npm installTo start the MCP server:
npm run build
npm startThis launches the MCP server using standard input/output (stdio) for communication—ideal for integration into AI agent environments like Claude, ChatGPT, or similar.
Get the latest spaceflight news.
- Parameters:
limit(optional): Number of articles to retrieve (1–50). Default:10
Search articles using a keyword.
- Parameters:
keyword(required): Term to search forlimit(optional): Number of articles to retrieve (1–50). Default:10
Title: NASA's Artemis Mission Update
Published: 4/10/2025
Source: NASA
Summary: NASA announced updates to its upcoming Artemis II mission...
URL: https://www.nasa.gov/article/artemis-update
---
- Model Context Protocol SDK
- Space Flight News API
node-fetch– HTTP clientzod– Schema validation for tool parameters
The server logs detailed request info via console.error(), including:
- Requested URL
- HTTP status code
- Trimmed response body (for easier inspection)
MIT License
Made with 💫 and curiosity for the stars by WMs784.
このプロジェクトは Model Context Protocol (MCP) に対応したサーバーで、Space Flight News API と連携し、宇宙開発に関する最新ニュース記事を提供します。AI アシスタントや MCP 互換クライアントから利用できるツールを公開しています。
- 🔍 キーワードによる宇宙ニュース記事の検索
- 🆕 最新の宇宙ニュースの取得
- 🔌 標準入出力 (stdio) を使った MCP 通信に対応
- 📦 TypeScript、
node-fetch、zodによる構成
- Node.js v18 以上
- npm または yarn
git clone https://github.com/your-username/space-flight-news-mcp.git
cd space-flight-news-mcp
npm installMCP サーバーを起動するには以下のコマンドを使用します:
npm run build
npm start標準入出力を介して通信する形式で起動します。これは Claude、ChatGPT などの AI エージェントとの統合に適しています。
最新の宇宙ニュースを取得します。
- パラメータ:
limit(任意): 取得する記事数(1 ~ 50)。デフォルトは10
指定したキーワードで宇宙ニュース記事を検索します。
- パラメータ:
keyword(必須): 検索キーワードlimit(任意): 取得する記事数(1 ~ 50)。デフォルトは10
Title: NASAのアルテミス計画アップデート
Published: 2025/04/10
Source: NASA
Summary: NASAは今後のアルテミスIIミッションの最新情報を発表しました...
URL: https://www.nasa.gov/article/artemis-update
---
- Model Context Protocol SDK
- Space Flight News API
node-fetch– HTTP リクエストzod– パラメータバリデーション
サーバーは以下の情報を console.error() 経由で詳細にログ出力します:
- リクエスト URL
- HTTP ステータスコード
- レスポンス本文(300 文字までトリム)
MIT ライセンス
💫 WMs784 の宇宙への好奇心によって作られました。