astrolog-mcp
by 0xctx
README.md
<div align="center">
# π astrolog-mcp
**Exact astrology chart data for any AI assistant.**
Calculated by Astrolog and the Swiss Ephemeris, served over MCP.
[](https://github.com/0xctx/astrolog-mcp/actions/workflows/ci.yml)
[](LICENSE)
[](https://nodejs.org)
[](https://modelcontextprotocol.io)
</div>
Ask your assistant about a birth chart and get real positions back, not made-up ones. β¨
> *"What are my Sun, Moon and rising for 15 June 1990, 14:30, born in Paris, France?"*
> β `Sun 24Β°09β² Gemini, Moon 15Β°38β² Pisces, Ascendant 2Β°28β² Libra` (plus houses, aspects, midpointsβ¦)
## β¨ Why
- π― **Accurate.** Real ephemeris maths, not an LLM's guess. Chiron, Ceres and the dwarf planets included.
- π **Works anywhere.** Claude Desktop, Claude Code, Cursor, or any MCP client, over stdio or HTTP.
- β‘ **Fast.** A typical warm call takes about 25 to 65 ms at the median (see the [latency table](docs/deploy.md#latency)), quick enough for voice assistants.
- π **Offline places.** Type a city name. No geocoding service, no API keys.
- π **Private.** No accounts, no logging of birth data, nothing stored.
- π§ **Facts, not fortune-telling.** It returns numbers. Your assistant does the interpreting.
## π Quick start
```sh
git clone https://github.com/0xctx/astrolog-mcp.git && cd astrolog-mcp
npm ci && npm run install:astrolog && npm run build
```
Then connect it to your assistant: **[docs/clients.md](docs/clients.md)** has copy-paste configs for Claude Desktop, Claude Code and others. Prefer containers? `docker compose up --build`. π³
## π οΈ Tools
| Tool | You get |
| --- | --- |
| π `get_chart_data` | A natal chart: bodies, houses, angles, aspects |
| π `get_transit_data` | The sky for a date (or now) against a natal chart |
| π `get_composite_data` | A composite or Davison chart for two people |
| π’ `get_harmonic_midpoints` | A harmonic chart's midpoint structures |
| π
`get_daily_transits` | One day's ranked aspect hits, sign and house changes, retrograde changes and the Moon, with exact times |
Seven house systems, harmonics from 1 to 10000 (the daily reading caps its own by the day's length), place names or coordinates. See the **[tool reference](docs/tools.md)**.
## π Docs
| | |
| --- | --- |
| [Connect a client](docs/clients.md) | Claude Desktop, Claude Code, Cursor, HTTP |
| [Tool reference](docs/tools.md) | Every input, output and error |
| [Installing Astrolog](docs/install.md) | Installer options, requirements, troubleshooting |
| [Configuration](docs/configuration.md) | Environment variables |
| [Running a server](docs/deploy.md) | Docker, limits, proxies, latency |
| [Development](docs/development.md) | Layout, tests, how results are verified |
| [Licensing](docs/licensing.md) | What you must do when you run or share it |
## π€ Contributing
Bug reports, ideas and pull requests are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md).
## β Like it?
A star helps other people find it.
## π Licence
[AGPL-3.0-only](LICENSE). It is built on [Astrolog](https://www.astrolog.org/astrolog.htm) (GPL), the [Swiss Ephemeris](https://www.astro.com/swisseph/swephinfo_e.htm) (AGPL or Professional licence) and place data from [GeoNames](https://www.geonames.org/export/) (CC BY 4.0, credited to GeoNames). Details and notices: [docs/licensing.md](docs/licensing.md) and [NOTICE](NOTICE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues