Skip to main content

MCP server wrapping the Brahe astrodynamics library

Project description

brahe-mcp

Tests PyPI

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.

demo

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 ~/.zshrc and omit the env block.

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

brahe_mcp-0.2.0.tar.gz (31.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brahe_mcp-0.2.0-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

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

Hashes for brahe_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ff7c6affcf21caa132961a78031261a7bd151b35cb1697d7cd47f1d430a01821
MD5 0f82c1fab466b9c0350cc5356d2e9a2e
BLAKE2b-256 a4668be5684c954cece02c508fc1418545a3a4304b3f7d4e03bab3645b4394b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for brahe_mcp-0.2.0.tar.gz:

Publisher: release.yml on duncaneddy/brahe-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for brahe_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea432df7147f1c64b2e9b5d553ee259dc0462f056672810763631dce1a03df3
MD5 16ea1157cbe612febcf89b002a47ebab
BLAKE2b-256 f444bf9ff438ef02711662ec7b69d8bacf900f3a82f9c40cc031b980d250b3df

See more details on using hashes here.

Provenance

The following attestation bundles were made for brahe_mcp-0.2.0-py3-none-any.whl:

Publisher: release.yml on duncaneddy/brahe-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page