Swiss Ephemeris astrology tools for AI agents — MCP server (npm stellara-mcp, remote at mcp.stellara.natlex.it): natal chart, transits, synastry, birth-place resolver
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add stellara --env STELLARA_API_KEY='<STELLARA_API_KEY>' -- npx -y stellara-mcp~/.codex/config.toml
[mcp_servers.stellara]
command = "npx"
args = ["-y", "stellara-mcp"]
env = { STELLARA_API_KEY = "<STELLARA_API_KEY>" }
# codex mcp add stellara --env STELLARA_API_KEY='<STELLARA_API_KEY>' -- npx -y stellara-mcp~/.cursor/mcp.json
{
"mcpServers": {
"stellara": {
"command": "npx",
"args": [
"-y",
"stellara-mcp"
],
"env": {
"STELLARA_API_KEY": "<STELLARA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"stellara": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stellara-mcp"
],
"env": {
"STELLARA_API_KEY": "<STELLARA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"stellara": {
"command": "npx",
"args": [
"-y",
"stellara-mcp"
],
"env": {
"STELLARA_API_KEY": "<STELLARA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"stellara": {
"command": "npx",
"args": [
"-y",
"stellara-mcp"
],
"env": {
"STELLARA_API_KEY": "<STELLARA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"stellara": {
"command": "npx",
"args": [
"-y",
"stellara-mcp"
],
"env": {
"STELLARA_API_KEY": "<STELLARA_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http stellara https://mcp.stellara.natlex.it/mcp~/.codex/config.toml
[mcp_servers.stellara]
url = "https://mcp.stellara.natlex.it/mcp"
# codex mcp add stellara --url https://mcp.stellara.natlex.it/mcp~/.cursor/mcp.json
{
"mcpServers": {
"stellara": {
"url": "https://mcp.stellara.natlex.it/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"stellara": {
"type": "http",
"url": "https://mcp.stellara.natlex.it/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"stellara": {
"httpUrl": "https://mcp.stellara.natlex.it/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"stellara": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.stellara.natlex.it/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"stellara": {
"url": "https://mcp.stellara.natlex.it/mcp"
}
}
}Environment variables
STELLARA_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.