SpaceX MCP Server
A lightweight MCP server that provides analytics on SpaceX launches, including launch counts per year, success vs failure totals, and most-used launch site.
README
๐ SpaceX MCP Server
A lightweight Model Context Protocol (MCP) server that fetches public SpaceX launch data and exposes three analytics endpoints.
analysisType value |
What it returns |
|---|---|
countByYear |
Launch counts for every year from the first SpaceX flight to the most recent. |
successVsFailure |
Total number of successful vs. failed launches. |
mostFrequentSite |
Launch site used most often and its count. |
๐ Project Structure
spacex-mcp-server/
โโโ analysis.py
โโโ launch_data.py
โโโ main.py
โโโ requirements.txt
โโโ README.md
โก Quick Start
git clone https://github.com/nawani-rohit/MCP-Server.git
cd spacex-mcp-server
pip install -r requirements.txt
uvicorn main:app --reload --port 3000
๐ฏ API Endpoints
| Method | Path | Query Parameter | Description |
|---|---|---|---|
GET |
/mcp/launches/analysis |
analysisType=countByYear |
Launch counts per year |
analysisType=successVsFailure |
Success vs failure totals | ||
analysisType=mostFrequentSite |
Most-used launch site |
๐งช Requests & Responses
Replace
3000if you run on a different port.
1๏ธโฃ Launch Count by Year
curl "http://localhost:3000/mcp/launches/analysis?analysisType=countByYear"
{
"2006": 1,
"2007": 1,
"2008": 2,
"2009": 1,
"2010": 2,
"2011": 0,
"2012": 2,
"2013": 3,
"2014": 6,
"2015": 7,
"2016": 9,
"2017": 18,
"2018": 21,
"2019": 13,
"2020": 25
}
2๏ธโฃ Successful vs Failed Launches
curl "http://localhost:3000/mcp/launches/analysis?analysisType=successVsFailure"
{
"successful_launches": 191,
"failed_launches": 9
}
3๏ธโฃ Most Frequent Launch Site
curl "http://localhost:3000/mcp/launches/analysis?analysisType=mostFrequentSite"
{
"site": "CCAFS SLC 40",
"launch_count": 52
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.