🛰️ Space Flight News MCP Server

by WMs784

1 stars
349 downloads
Not rated
GitHub

About

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.

Details

Author
WMs784
GitHub stars
1
Downloads
349
Categories
Other

- Search for space flight news articles by keyword
- Retrieve the latest published articles
- Compatible with any MCP client via stdio transport
- Built with TypeScript, node‑fetch, and zod
- Parameters support configurable article limits (1‑50)

Clone the repository, run npm install, then build with npm run build and start with npm start. The server communicates via standard input/output (stdio), making it suitable for integration into AI agent environments like Claude or ChatGPT.

🛰️ Space Flight News MCP Server

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.

---

🚀 Features

- 🔍 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, and zod

---

📦 Requirements

- Node.js v18 or later
- npm (or yarn)

---

🛠️ Installation

git clone https://github.com/your-username/space-flight-news-mcp.git
cd space-flight-news-mcp
npm install

---

▶️ Usage

To start the MCP server:

npm run build
npm start

This launches the MCP server using standard input/output (stdio) for communication—ideal for integration into AI agent environments like Claude, ChatGPT, or similar.

---

🧰 Available Tools

get-latest-articles

Get the latest spaceflight news.

- Parameters:
- limit _(optional)_: Number of articles to retrieve (1–50). Default: 10

---

search-articles

Search articles using a keyword.

- Parameters:
- keyword _(required)_: Term to search for
- limit _(optional)_: Number of articles to retrieve (1–50). Default: 10

---

💬 Example Output

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

---

🧱 Tech Stack

- Model Context Protocol SDK
- Space Flight News API
- node-fetch – HTTP client
- zod – Schema validation for tool parameters

---

🐛 Debugging

The server logs detailed request info via console.error(), including:

- Requested URL
- HTTP status code
- Trimmed response body (for easier inspection)

---

📄 License

MIT License

---

Made with 💫 and curiosity for the stars by WMs784.

---

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.