How this page was checked: The configuration was checked against the client's own documentation on 3 December 2026. The server was tested with the official MCP TypeScript client against the AstroNode API running in memory: every one of the 105 calculation tools that has a sample input answered, and each tool call was counted as exactly one API call. The client application itself was not part of that test.
Claude Code
Add the hosted server with your key in the Authorization header:
claude mcp add --transport http astronode https://mcp.astronode.dev/mcp \ --header "Authorization: Bearer aie_live_your_key"
Or run it locally. Everything after -- is the server command; keep --transport between --env and the server name, or the CLI reads the name as another variable:
claude mcp add --transport stdio --env ASTRONODE_API_KEY=aie_live_your_key astronode -- npx -y @astronode/mcp
Both save to your local scope by default. To share the server with a project without committing the key, add it with --scope project and reference an environment variable in the generated .mcp.json, which Claude Code expands:
{
"mcpServers": {
"astronode": {
"type": "http",
"url": "https://mcp.astronode.dev/mcp",
"headers": { "Authorization": "Bearer ${ASTRONODE_API_KEY}" }
}
}
}Claude Desktop
Claude Desktop starts local servers from claude_desktop_config.json - Settings, then Developer, then Edit Config. On macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows, %APPDATA%\Claude\claude_desktop_config.json. Add:
{
"mcpServers": {
"astronode": {
"command": "npx",
"args": ["-y", "@astronode/mcp"],
"env": { "ASTRONODE_API_KEY": "aie_live_your_key" }
}
}
}Quit and reopen Claude Desktop. It needs Node.js installed for npx. To use the hosted server instead, add it as a custom connector, below - connectors work in Claude Desktop too.
claude.ai custom connector
- Open Connectors (Customize, then Connectors on Pro and Max; Organization settings on Team and Enterprise, where an owner adds it).
- Add a custom connector with the URL
https://mcp.astronode.dev/mcp. - Under Authentication choose No sign in - the server does not use OAuth.
- Under Request headers add
Authorizationwith the valueBearer aie_live_your_key, including the word Bearer.
Authentication settings cannot be edited after the connector is added; to change the key, remove the connector and add it again. On a Team or Enterprise workspace the header is shared by everyone who uses the connector, so every call bills to that one key.
What the model sends
Ask Claude something like "What is my ascendant? I was born on 24 April 1973 at 5:25 pm in Mumbai." It picks the charts_birth tool and fills in its arguments from the tool's schema:
{
"date": "1973-04-24",
"time": "17:25",
"tz_offset_minutes": 330,
"lat": 19.076,
"lng": 72.8777
}The result is the API's own JSON - the same response the Birth Chart API page shows - so the ascendant comes from the ephemeris, not from the model's memory. Arguments that do not match the schema (a date written as 24/04/1973, an offset of 5.5) are rejected before any API call is made.
Check the offset the model chose. The tools take tz_offset_minutes, the UTC offset in force at the moment of birth, and models sometimes guess it. India has been +330 since 1955, but births during the Second World War used +390, and anywhere with daylight saving changes with the season. See birth time and time zones.
Fewer tools, if the client wants them
The server offers 128 tools. Some clients slow down or cap the list when a server offers that many. Narrow it to the groups you use with a query parameter on the hosted URL, or an environment variable for the local server:
https://mcp.astronode.dev/mcp?groups=charts,dasha,panchang,muhurta ASTRONODE_MCP_GROUPS=charts,dasha,panchang,muhurta
The groups, and every tool in each, are listed on the MCP server page.
What it costs
A tool call is one API call on your plan, counted exactly as if your code had made it: the same endpoint access, rate limit and monthly quota. Listing the tools is free, and failed calls do not count. A tool on an endpoint your plan does not include returns PLAN_REQUIRED, which the model sees and can explain. See pricing.
Questions
- Which AstroNode endpoints does the Claude example call?
- 3 endpoints: Birth Chart (Kundli) (
POST /v1/charts/birth); Current Dasha Lookup (POST /v1/dasha/lookup); Panchang (POST /v1/panchang). - Was the Claude code on this page actually run?
- The configuration was checked against the client's own documentation on 3 December 2026. The server was tested with the official MCP TypeScript client against the AstroNode API running in memory: every one of the 105 calculation tools that has a sample input answered, and each tool call was counted as exactly one API call. The client application itself was not part of that test.