astroway-mcp

astroway-mcp

Comprehensive astrology MCP exposing every endpoint of the AstroWay Calculation API — natal charts, synastry, transits, Vedic dashas, Tarot, Numerology, Human Design. Sub-arcsecond Swiss Ephemeris precision, 10 000 free credits per month.

Category
访问服务器

README

@astroway/mcp

MCP (Model Context Protocol) server exposing every endpoint of the AstroWay Calculation API as tools for Claude Desktop, Cursor, and any MCP-compatible AI agent.

npm version npm downloads license: MIT MCP

Natal charts, synastry, transits, Vedic dashas (Vimshottari, Yogini, Ashtottari, Kalachakra), 16 Vargas, Tarot (Rider-Waite / Marseille / Lenormand), Numerology (5 systems), Human Design, AI horoscopes — all wrapped as MCP tools that the agent can call directly.

Tools are auto-generated from the live API manifest at build time, so each release ships every endpoint that exists in production. No manual tool-list maintenance.


Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "astroway": {
      "command": "npx",
      "args": ["-y", "@astroway/mcp"],
      "env": {
        "ASTROWAY_API_KEY": "aw_live_..."
      }
    }
  }
}

Restart Claude Desktop. The astroway server will appear in the MCP indicator at the bottom of the chat input.

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "astroway": {
      "command": "npx",
      "args": ["-y", "@astroway/mcp"],
      "env": { "ASTROWAY_API_KEY": "aw_live_..." }
    }
  }
}

Other MCP clients

Run as a stdio server:

ASTROWAY_API_KEY=aw_live_... npx @astroway/mcp

Get an API key

Sign up at https://api.astroway.info/dashboard/sign-up10 000 credits/month free, no card required. Each request costs 5–500 credits depending on the endpoint (see pricing).

For local testing without a paid plan, use a sandbox key (aw_test_...) which returns deterministic responses for free.


What you get

Tool categories — examples below. Run npx @astroway/mcp once and ask the agent "list astroway tools" for the full live inventory (the package auto-syncs with the API on every release).

Category Examples
Core natal chart, planet positions, draconic, harmonics
Comparisons synastry, composite, davison, cross-system compatibility
Prognostics transits, secondary progressions, solar/lunar return, transit calendar
Specialized Charts heliocentric, sidereal, eclipse search
Aspects & Points aspects table, antiscia, midpoints, Arabic parts, fixed stars
Calendar & Cycles retrograde periods, ingresses, lunar phases, planetary hours
Dignities & Receptions essential dignities, almuten, hyleg, dispositors
Horary horary chart, moon void-of-course, via combusta
Human Design full chart, transits, penta, dream rave, hologenetic profile
Astro-Geography astrocartography, local space, relocation chart
Vedic 16 Vargas, Panchang, Shadbala, 4 Dasha systems × 5 levels (Vimshottari / Yogini / Ashtottari / Kalachakra), Yogas, Doshas, Compatibility, Muhurat
Tarot Rider-Waite-Smith, Marseille, Lenormand decks; spreads + card lookups
Numerology Pythagorean, Chaldean, Kabbalistic, Vedic, Destiny Matrix
Esoteric I Ching, sabian symbols, fortune dice, color & gemstone correspondences
Reference signs, planets, houses, aspects, nakshatras, Hellenistic Lots
AI Interpretations natal, synastry, transits — Ukrainian/English
Horoscope daily, weekly, monthly, compatibility (zodiac sign-based)

Example prompts

After connecting the server, try these in Claude Desktop:

Natal chart

Calculate a natal chart for me — born 1990-03-15 at 14:30 in Kyiv, Ukraine (50.45N 30.52E, UTC+2). Identify my sun, moon, ascendant, and any tight aspects.

Synastry

Compare two charts: person A born 1988-06-10 09:15 in London (51.51N -0.13E UTC+1), person B born 1991-11-22 22:40 in Berlin (52.52N 13.40E UTC+1). What are the strongest cross-aspects?

Vedic Vimshottari Dasha

Run a Vimshottari Mahadasha for someone born 1985-07-22 06:45 in Mumbai (19.07N 72.87E UTC+5.5). Which planet's period are they in right now (May 2026)?

Transit forecast

What major outer-planet transits hit my natal chart on 2027-01-01? Birth: 1990-03-15 14:30 Kyiv (50.45 30.52 UTC+2).

Tarot reading

Pull a 3-card Past-Present-Future spread from the Rider-Waite deck for the question "should I take the new job?". Use seed 42 for reproducibility.

Human Design

What's the Human Design type, strategy and authority for someone born 1990-03-15 14:30 Kyiv (50.45 30.52 UTC+2)? List their defined centers and incarnation cross.


Configuration

Env var Default Description
ASTROWAY_API_KEY (required) Your API key. Live: aw_live_.... Sandbox: aw_test_....
ASTROWAY_BASE_URL https://api.astroway.info/v1 Override for self-hosted / staging instances.

How tools are generated

A build-time script reads the canonical endpoint manifest from the production API, classifies each endpoint by input shape (chart, twoChart, chartTarget, horoscopeSign, year, date, generic), and emits a typed tool definition. The MCP server then registers every entry against an MCP Tool with the appropriate Zod input schema.

When the API ships new endpoints, the next MCP release ships them automatically — no manual tool definitions to keep in sync.


Troubleshooting

Claude Desktop doesn't show the server. Check the bottom of the chat input for the MCP indicator (slider icon). Click it to see registered servers and any startup errors. If astroway is missing, run the npx @astroway/mcp command manually in a terminal — startup errors print to stderr.

Tools return Error 401. API key is missing, invalid, or revoked. Generate a new one at https://api.astroway.info/dashboard/keys.

Tools return Error 402. Out of credits on the free tier. Upgrade at https://api.astroway.info/pricing/ or wait for the monthly reset.

Tools return Error 422 with field validation errors. The LLM passed a body the API didn't accept. Ask Claude to retry with the example body shown in the tool description, or use the sandbox key (aw_test_...) to debug without spending credits.


Repository layout

This repo is the public showcase for @astroway/mcp: README, CHANGELOG, LICENSE, install instructions. The runnable code is the published npm package itself — install it with npm install @astroway/mcp or run via npx @astroway/mcp.

Source is maintained in the private AstroWay monorepo so the build-time generator can read the canonical endpoint manifest from the API workspace next door. The generated package is open source under MIT and ships every release to npm.


Changelog

See CHANGELOG.md.


Links


License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选