- Home
- MCP servers
- SpaceX
SpaceX
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"rftsngl-spacex-mcp": {
"command": "python",
"args": [
"server.py"
]
}
}
}You can access SpaceX data through a dynamic MCP (Model Context Protocol) server that serves up-to-date SpaceX API information via standard STDIO MCP interactions. This lets you query the latest SpaceX launches, upcoming launches, and company details in a consistent MCP workflow.
How to use
To use the SpaceX MCP server, connect your MCP client to the STDIO interface exposed by the local process. You can access the SpaceX data through the available tools that fetch live data from SpaceX API endpoints. Start the server, then issue requests to retrieve the latest launch, upcoming launches (with optional limits), or company information. The server responds in a standardized format suitable for MCP clients, enabling you to compose richer data workflows by combining multiple tool results.
How to install
# Prerequisites
Python 3.9+
pip
# 1) Clone the project
git clone https://github.com/rftsngl/SpaceX-mcp.git
cd SpaceX-mcp
# 2) Create and activate a virtual environment
python -m venv venv
# Windows
venv\Scripts\activate
# Linux/Mac
source venv/bin/activate
# 3) Install Python dependencies
pip install -r requirements.txt
# Local run
python server.py
# Docker run
docker build -t spacex-mcp .
docker run spacex-mcp
# Smithery deployment
smithery deploy
Additional notes
This server provides a STDIO MCP interface via a local process. The primary runtime command to start the server locally is python server.py. You can also build and run a container with Docker, or deploy via Smithery for automated environments.
Available tools
get_latest_launch
Fetches the most recent SpaceX launch information.
get_upcoming_launches
Lists upcoming SpaceX launches with an optional limit parameter.
get_company_info
Returns SpaceX company information.