MCP server wrapping the Brahe astrodynamics library
Project description
brahe-mcp
This project provides a Model Context Protocol (MCP) server that exposes the astrodynamics capabilities of the Brahe library enabling language models to get smarter about astrodynamics and space situational awareness.
Installation
uv tool install brahe-mcp
or
pip install brahe-mcp
Then configure your MCP client to use the installed tool:
{
"mcpServers": {
"brahe": {
"command": "brahe-mcp"
}
}
}
Local Setup
To run the server from a local clone (useful for development or testing before installing):
git clone https://github.com/duncaneddy/brahe-mcp.git
cd brahe-mcp
uv sync --group dev
Then configure your MCP client to launch the server via uv run. Add the following to your MCP settings file:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - Claude Code:
.claude/settings.json(project-level or global)
{
"mcpServers": {
"brahe": {
"command": "uv",
"args": ["run", "--directory", "/path/to/brahe-mcp", "brahe-mcp"]
}
}
}
Replace /path/to/brahe-mcp with the absolute path to your local clone.
SpaceTrack Configuration
The SpaceTrack tools require a Space-Track.org account. Add your credentials via the env key in the server config:
{
"mcpServers": {
"brahe": {
"command": "brahe-mcp",
"env": {
"SPACETRACK_USER": "your@email.com",
"SPACETRACK_PASS": "your-password"
}
}
}
}
Note: Claude Desktop does not expand shell variables like
${SPACETRACK_USER}— you must put the actual values in the config. Claude Code inherits your shell environment, so you can alternatively set the variables in~/.zshrcand omit theenvblock.
Without these variables, the CelesTrak tools will still work normally — only the SpaceTrack tools will return an error prompting you to set the credentials.
Development
uv sync --group dev
uv run pytest tests/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brahe_mcp-0.2.0.tar.gz.
File metadata
- Download URL: brahe_mcp-0.2.0.tar.gz
- Upload date:
- Size: 31.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff7c6affcf21caa132961a78031261a7bd151b35cb1697d7cd47f1d430a01821
|
|
| MD5 |
0f82c1fab466b9c0350cc5356d2e9a2e
|
|
| BLAKE2b-256 |
a4668be5684c954cece02c508fc1418545a3a4304b3f7d4e03bab3645b4394b0
|
Provenance
The following attestation bundles were made for brahe_mcp-0.2.0.tar.gz:
Publisher:
release.yml on duncaneddy/brahe-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brahe_mcp-0.2.0.tar.gz -
Subject digest:
ff7c6affcf21caa132961a78031261a7bd151b35cb1697d7cd47f1d430a01821 - Sigstore transparency entry: 1057415400
- Sigstore integration time:
-
Permalink:
duncaneddy/brahe-mcp@1f7378a94639732653faa3727c0314250ad16545 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/duncaneddy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1f7378a94639732653faa3727c0314250ad16545 -
Trigger Event:
push
-
Statement type:
File details
Details for the file brahe_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: brahe_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 54.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ea432df7147f1c64b2e9b5d553ee259dc0462f056672810763631dce1a03df3
|
|
| MD5 |
16ea1157cbe612febcf89b002a47ebab
|
|
| BLAKE2b-256 |
f444bf9ff438ef02711662ec7b69d8bacf900f3a82f9c40cc031b980d250b3df
|
Provenance
The following attestation bundles were made for brahe_mcp-0.2.0-py3-none-any.whl:
Publisher:
release.yml on duncaneddy/brahe-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brahe_mcp-0.2.0-py3-none-any.whl -
Subject digest:
0ea432df7147f1c64b2e9b5d553ee259dc0462f056672810763631dce1a03df3 - Sigstore transparency entry: 1057415408
- Sigstore integration time:
-
Permalink:
duncaneddy/brahe-mcp@1f7378a94639732653faa3727c0314250ad16545 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/duncaneddy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1f7378a94639732653faa3727c0314250ad16545 -
Trigger Event:
push
-
Statement type: