PluginBench
MCP Server
Active
Apache-2.0

io.github.cyanheads/astronomy-mcp-server MCP Server

io.github.cyanheads/astronomy-mcp-server

What is the io.github.cyanheads/astronomy-mcp-server MCP server?

Offline observational astronomy: positions, rise/set, moon phases, eclipses, and seasons.

How to install io.github.cyanheads/astronomy-mcp-server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • ASTRONOMY_ENABLE_HORIZONS

    Register the astronomy_get_ephemeris tool, which fetches small-body and spacecraft ephemerides from JPL Horizons. Off by default; the core is keyless and offline.

  • ASTRONOMY_ENABLE_SATELLITES

    Register the astronomy_get_satellite_passes tool, which predicts visible satellite passes from CelesTrak TLEs propagated with SGP4. Off by default.

  • ASTRONOMY_DEFAULT_TIMEZONE

    Fallback IANA timezone for observer-local output when a tool call omits `timezone`. Unset means UTC-only output.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "astronomy-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/astronomy-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "ASTRONOMY_ENABLE_HORIZONS": "<YOUR_ASTRONOMY_ENABLE_HORIZONS>",
        "ASTRONOMY_ENABLE_SATELLITES": "<YOUR_ASTRONOMY_ENABLE_SATELLITES>",
        "ASTRONOMY_DEFAULT_TIMEZONE": "<YOUR_ASTRONOMY_DEFAULT_TIMEZONE>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "astronomy-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/astronomy-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "ASTRONOMY_ENABLE_HORIZONS": "<YOUR_ASTRONOMY_ENABLE_HORIZONS>",
        "ASTRONOMY_ENABLE_SATELLITES": "<YOUR_ASTRONOMY_ENABLE_SATELLITES>",
        "ASTRONOMY_DEFAULT_TIMEZONE": "<YOUR_ASTRONOMY_DEFAULT_TIMEZONE>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "astronomy-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/astronomy-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "ASTRONOMY_ENABLE_HORIZONS": "<YOUR_ASTRONOMY_ENABLE_HORIZONS>",
        "ASTRONOMY_ENABLE_SATELLITES": "<YOUR_ASTRONOMY_ENABLE_SATELLITES>",
        "ASTRONOMY_DEFAULT_TIMEZONE": "<YOUR_ASTRONOMY_DEFAULT_TIMEZONE>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "astronomy-mcp-server": {
      "type": "stdio",
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/astronomy-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "ASTRONOMY_ENABLE_HORIZONS": "<YOUR_ASTRONOMY_ENABLE_HORIZONS>",
        "ASTRONOMY_ENABLE_SATELLITES": "<YOUR_ASTRONOMY_ENABLE_SATELLITES>",
        "ASTRONOMY_DEFAULT_TIMEZONE": "<YOUR_ASTRONOMY_DEFAULT_TIMEZONE>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}
Claude Code
claude mcp add astronomy-mcp-server --env MCP_LOG_LEVEL=<YOUR_MCP_LOG_LEVEL> --env ASTRONOMY_ENABLE_HORIZONS=<YOUR_ASTRONOMY_ENABLE_HORIZONS> --env ASTRONOMY_ENABLE_SATELLITES=<YOUR_ASTRONOMY_ENABLE_SATELLITES> --env ASTRONOMY_DEFAULT_TIMEZONE=<YOUR_ASTRONOMY_DEFAULT_TIMEZONE> --env MCP_HTTP_HOST=<YOUR_MCP_HTTP_HOST> --env MCP_HTTP_PORT=<YOUR_MCP_HTTP_PORT> --env MCP_HTTP_ENDPOINT_PATH=<YOUR_MCP_HTTP_ENDPOINT_PATH> --env MCP_AUTH_MODE=<YOUR_MCP_AUTH_MODE> -- bun -y @cyanheads/astronomy-mcp-server run start:stdio

Related MCP servers

Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP.

611
TypeScript
Apache-2.0
View repository →

Comprehensive Git MCP server with 28 tools for clone, commit, branching, merging, and advanced workflows.

226
TypeScript
Apache-2.0
View repository →

Agent-native TypeScript framework for building MCP servers with declarative definitions.

145
TypeScript
Apache-2.0
View repository →

TypeScript template for building MCP servers with declarative tooling, observability, and auth.

145
TypeScript
Apache-2.0
View repository →

Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.

116
TypeScript
Apache-2.0
View repository →

Search ClinicalTrials.gov — find studies, retrieve results, match patients to eligible trials.

81
TypeScript
Apache-2.0
View repository →