Skip to content
VS Code

astronomy mcp for VS Code

io.github.mrfentmen/astronomy-mcp

Solar and lunar almanac offline: sunrise, sunset, twilight, sun position and moon phase

client:VS Code transport:stdio runtime:npm

Install astronomy mcp in VS Code

.vscode/mcp.json

{
  "servers": {
    "astronomy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/astronomy-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

astronomy mcp in other clients