w8s-astro-mcp
Personal astrological MCP server — natal charts, transits, forecasting, and relationship charts backed by a queryable SQLite database.
Features
- 🔭 Swiss Ephemeris precision — planetary positions via pysweph; optional high-precision file download
- 🗂️ Multi-profile — manage charts for yourself, family, and friends
- 📜 Persistent history — every transit lookup auto-logged to SQLite; query by date, planet, or sign
- 🔗 Relationship charts — composite and Davison charts for any group of 2+ people; place today's sky in any chart's house system
- 🗓️ Event & electional tools — cast charts for any moment; scan windows for auspicious times
Quick Start
1. Install uv if you don't have it — see the uv installation guide for your platform.
2. Add to your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"w8s-astro-mcp": {
"command": "uvx",
"args": ["w8s-astro-mcp"]
}
}
}
3. Restart Claude Desktop, then create your profile:
"Create an astro profile for me — my name is [Name], born [YYYY-MM-DD] at [HH:MM] in [City, State]."
4. Set yourself as the owner:
"Set me as the owner profile."
This tells the server who you are. All tools default to your chart unless you ask about someone else. Everything is stored in ~/.w8s-astro-mcp/astro.db (macOS/Linux) or %USERPROFILE%\.w8s-astro-mcp\astro.db (Windows).
Installation
Recommended: uvx (no install required)
uvx pulls the package from PyPI and runs it in an isolated environment automatically. Use the config above.
Alternative: pip
pip install w8s-astro-mcp
Then use "command": "w8s-astro-mcp" (no args) in your Claude Desktop config.
Upgrading from an earlier version
If you have an existing database from before v0.12, run the migration script once:
python scripts/migrate_owner_profile.py
This renames the internal current_profile_id column to owner_profile_id. Safe to run multiple times.
If a new install fails with AttributeError: 'Server' object has no attribute 'list_tools': upgrade to v0.12.1 or later (uvx --refresh w8s-astro-mcp, or pip install -U w8s-astro-mcp). Earlier versions did not limit which MCP SDK version they accept, so a new install picked up SDK 2.x, which this server does not support yet.
Requirements
- Python 3.10+
- uv (for
uvxmethod) or pip - Claude Desktop (or any MCP-compatible client)
Use Cases
Get started:
"Create an astro profile for me — my name is [Name], born [YYYY-MM-DD] at [HH:MM] in [City, State]."
"Show me my natal chart."
Daily practice:
"What are my transits for today?"
"When was Mercury last retrograde?"
"What major transits are coming up in the next 90 days?"
Other profiles:
"Show me Liz's natal chart."
"What are her transits today?"
"Compare my chart with Liz's." (synastry)
House placements:
"Where are today's planets in my natal houses?"
"Where does today's sky fall in our composite chart?"
Relationships:
"Create a profile for my partner, born [YYYY-MM-DD] at [HH:MM] in [City, State]."
"Create a connection called 'Us' and show me our synastry."
"Calculate a Davison chart for us."
Events & planning:
"Cast a chart for the moment we got married — [date] at [time] in [city]."
"Find auspicious times to sign a contract next month — Moon not void, Mercury direct."
History & research:
"When was Jupiter last in Taurus?"
"Show me all my transit lookups from last month."
Documentation
| Doc | Contents |
|---|---|
| docs/ARCHITECTURE.md | Directory structure, full tool list, data flow, design decisions |
| docs/DATABASE_SCHEMA.md | Full ERD, all models, example SQL queries |
| docs/ROADMAP.md | Phase history and planned work |
| docs/TESTING_MCP.md | How to configure Claude Desktop and smoke-test the server |
Contributing & Development
See AGENTS.md for the development workflow, testing commands, branch strategy, and release checklist.
Questions & Bugs
Open an issue on GitHub.
License
Release files for w8s-astro-mcp 0.12.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| w8s_astro_mcp-0.12.1.tar.gz | 267.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| w8s_astro_mcp-0.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 364.1 kB
Release files / w8s_astro_mcp-0.12.1.tar.gz
| Download URL | w8s_astro_mcp-0.12.1.tar.gz |
|---|---|
| Size | 267.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3793c0ac5490f395779b2ea9ec55aff78ffddb494b19139b59c4cc9f57d2c044
|
|
BLAKE2b-256 checksum How to use checksums |
15ad88f7aaac2b4ca8638779f9ad5a7d541989d10ad37d4c8a8ec44526139ad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.
Transparency logRelease files / w8s_astro_mcp-0.12.1-py3-none-any.whl
| Download URL | w8s_astro_mcp-0.12.1-py3-none-any.whl |
|---|---|
| Size | 96.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e7a9a863c6031d96169ccf6ae6b21e8d2f7e4cd776eda4157d1b11b2bd90d79
|
|
BLAKE2b-256 checksum How to use checksums |
c4eecae5af01d67baf0860460d92c2ab468e3d24ad230646892e4f4748d750d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.
Transparency log