MCP Server Studio

Astral MCP MCP server

Precision-audited astrology MCP: natal charts, transits, synastry, moon phases. No API key.

Registry name: io.github.davidmosiah/astral-mcp

Publisher
davidmosiah
Runs
Runs locally
Package
npm
Version
0.2.0
Category
Developer tools
Updated
2026-06-07

Source code on GitHub

Set up Astral MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "astral-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ASTRAL_MCP_TRANSPORT": "<ASTRAL_MCP_TRANSPORT>",
        "ASTRAL_MCP_HOST": "<ASTRAL_MCP_HOST>",
        "ASTRAL_MCP_PORT": "<ASTRAL_MCP_PORT>",
        "ASTRAL_MCP_ALLOWED_ORIGIN": "<ASTRAL_MCP_ALLOWED_ORIGIN>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add astral-mcp -e ASTRAL_MCP_TRANSPORT='<ASTRAL_MCP_TRANSPORT>' -e ASTRAL_MCP_HOST='<ASTRAL_MCP_HOST>' -e ASTRAL_MCP_PORT='<ASTRAL_MCP_PORT>' -e ASTRAL_MCP_ALLOWED_ORIGIN='<ASTRAL_MCP_ALLOWED_ORIGIN>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "astral-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ASTRAL_MCP_TRANSPORT": "<ASTRAL_MCP_TRANSPORT>",
        "ASTRAL_MCP_HOST": "<ASTRAL_MCP_HOST>",
        "ASTRAL_MCP_PORT": "<ASTRAL_MCP_PORT>",
        "ASTRAL_MCP_ALLOWED_ORIGIN": "<ASTRAL_MCP_ALLOWED_ORIGIN>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "astral-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ASTRAL_MCP_TRANSPORT": "<ASTRAL_MCP_TRANSPORT>",
        "ASTRAL_MCP_HOST": "<ASTRAL_MCP_HOST>",
        "ASTRAL_MCP_PORT": "<ASTRAL_MCP_PORT>",
        "ASTRAL_MCP_ALLOWED_ORIGIN": "<ASTRAL_MCP_ALLOWED_ORIGIN>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "astral-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ASTRAL_MCP_TRANSPORT": "<ASTRAL_MCP_TRANSPORT>",
        "ASTRAL_MCP_HOST": "<ASTRAL_MCP_HOST>",
        "ASTRAL_MCP_PORT": "<ASTRAL_MCP_PORT>",
        "ASTRAL_MCP_ALLOWED_ORIGIN": "<ASTRAL_MCP_ALLOWED_ORIGIN>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
ASTRAL_MCP_TRANSPORTNoTransport to run. Defaults to stdio. Set to http to expose a streamable HTTP endpoint instead.
ASTRAL_MCP_HOSTNoHost to bind when ASTRAL_MCP_TRANSPORT=http. Defaults to 127.0.0.1.
ASTRAL_MCP_PORTNoPort to bind when ASTRAL_MCP_TRANSPORT=http. Defaults to 3000.
ASTRAL_MCP_ALLOWED_ORIGINNoAllowed CORS origin for the HTTP transport. Defaults to the bound host:port.

More developer tools MCP servers