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.1.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.1.0-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

Details for the file brahe_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: brahe_mcp-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 7c3e58163b241d382bf15aad320b2dec2e483c9a8ba48653aa7b128667e9a125
MD5 fd86c93a45d7b440059ded227e34648e
BLAKE2b-256 841ecef61707493eeb2f5809d97509c9831cfbeaeaa7f58749073d94d6431630

See more details on using hashes here.

Provenance

The following attestation bundles were made for brahe_mcp-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: brahe_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 52.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5afd7861440acdbfc50ce73e10e3e72f13db948813ea513341d0baf8c06c7f
MD5 6521b28f57098109e47cf53c0b89feb0
BLAKE2b-256 75ab41a542aa4d04ded60b8e40c0da6519dbcd5ef026fed6ee39a8ccf843c109

See more details on using hashes here.

Provenance

The following attestation bundles were made for brahe_mcp-0.1.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