AstroWay/api v2.19.0 · use-cases
all systems operational
UA EN
// industry · AI agents & MCP

API for AI agents via Model Context Protocol

Connect 700+ tools to Claude, Cursor, or your custom agent in one command. AI gets deterministic ephemeris access instead of fabricating dates.

<100ms
🎯
sub-arcsecond
🤖
Claude / Cursor / custom
🔌
700+ tools
// 01 / problem

The problem

A generic LLM "knows" astrology only from text in its training data — which means hallucinated dates, coordinates, aspects. Ask "when does Saturn trine my Jupiter next?" and you get a vague phrase instead of a UTC point.

// 02 / solution

How AstroWay solves it

@astroway/mcp — a native Model Context Protocol server. The AI agent invokes `tool_use POST /v1/transits` and gets a real UTC timestamp to the second. 4 credits per call, <100ms latency, sub-arcsecond accuracy.

// 03 / endpoints

Endpoints used

// 04 / code sample

TypeScript starter

// MCP server (npx -y @astroway/mcp) gives Claude every endpoint as a tool
import Anthropic from '@anthropic-ai/sdk';
import { spawn } from 'node:child_process';

// Spawn @astroway/mcp via npx; Claude SDK auto-discovers MCP tools
const reply = await new Anthropic().messages.create({
  model: 'claude-sonnet-4-6',
  // tools auto-loaded from running MCP server: 700+ endpoints exposed
  messages: [{ role: 'user', content: 'When does Saturn next trine my natal Jupiter?' }],
});

Build a ai agents & mcp feature

Generate an API key, hit any of the listed endpoints in 5 minutes. 10,000 credits free.

100% uptime · Calculation API · 30d status →