W8s Astro Mcp

io.github.w8s由 GitHub 帳號 w8s 發布v0.15.2更新於 Oct 24, 2026

Natal charts, transits, history, ingress forecasting, aspects, composite & Davison charts — SQLite.

已驗證STDIO僅桌面資料庫位置與生活

概覽

AI 產生的概覽

一個本機占星伺服器,讓助理產生出生盤、行運盤、事件盤與關係盤,並存入可查詢的 SQLite 資料庫。

可以做什麼
建立並管理自己、家人與朋友的占星檔案,可指定其中一個為預設擁有者檔案。計算出生盤、行運盤、事件盤與擇時盤,以及組合盤和戴維森關係盤。比較不同星盤,並把目前天象落入某張盤的宮位。依日期、行星或星座查詢行運歷史,並預測未來行運與入座。產生可互動的落位轉盤頁面,說明行星、星座與宮位的意義。
適用情境
適合希望助理長期維護個人占星資料庫,並回答出生落位、每日行運、關係合盤、擇時或歷史行星位置等問題,而不必每次重新輸入出生資料。
執行需求
透過 stdio 在本機執行。需要 Python 3.10+、uv(供 uvx 使用)或 pip,以及相容 MCP 的用戶端(例如 Claude Desktop)。資料存放在使用者主目錄下的本機 SQLite 檔案。可選擇下載高精度星曆檔案。
安裝前請注意
會在本機資料庫保存你和他人的出生日期、時間與地點,請謹慎處理這些個人資料。v0.14 之前版本寫入的星盤把當地時間當成 UT,導致上升、天頂、宮位與月亮有誤;請執行重算工具,它會在套用變更前備份資料庫。落位轉盤工具會將一個 HTML 檔案寫入下載資料夾。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 W8s Astro Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

w8s-astro-mcp

Personal astrological MCP server — natal charts, transits, forecasting, and relationship charts backed by a queryable SQLite database.

[Tests] [PyPI version] [Python versions] [License: AGPL-3.0]

⚠ Upgrading from v0.12 or earlier? Your stored charts were calculated with the wrong time zone. Birth, event and electional times were treated as UT instead of local time, so the Ascendant, MC, houses and Moon were off. Planet signs almost always stay the same. Run w8s-astro-recalculate --all to see what changes, then add --apply. Details

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
  • 🧭 Transit reading — compare today's sky to your natal chart with applying/separating direction and an estimated time of exactness; opt-in JSON output
  • 🎛️ Placement dials — an interactive page that teaches what a planet, a sign and a house mean, alone and together, using your own placements
  • 🔗 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
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

bash
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:

bash
python scripts/migrate_owner_profile.py

This renames the internal current_profile_id column to owner_profile_id. Safe to run multiple times.

Upgrading to v0.14.0 — recalculate your stored charts. Earlier versions used the local birth time as if it were UT, so every stored natal chart has the wrong Ascendant, MC, houses and Moon. Fix it once after upgrading:

bash
w8s-astro-recalculate --all            # dry run: shows exactly what would changew8s-astro-recalculate --all --apply    # backs up the database first, then recalculates# with uvx: uvx --from w8s-astro-mcp w8s-astro-recalculate --all

Add --events to include saved event charts, or --event LABEL to recalculate just one (repeat it for several). It is safe to run more than once, and your AI assistant will mention it after you upgrade if any stored chart still needs recalculating. The compare_charts changes in this release are additive: it keeps its existing output and adds one line per aspect (see the CHANGELOG if you parse that text). If you would rather not be reminded, ask it to dismiss the notice. A note on times: birth time, event time and electional dates are local times (converted using the location's timezone); the time you pass to get_transits, find_house_placements and compare_charts is UT.

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 uvx method) 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?"

"Which of today's transits to my chart are building and which are fading?"

Learn what a placement means:

"Make me a placement dials page so I can see what Mars in Taurus in House 3 means." (saves an HTML file to your Downloads folder; open it in a browser)

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

DocContents
docs/ARCHITECTURE.mdDirectory structure, full tool list, data flow, design decisions
docs/DATABASE_SCHEMA.mdFull ERD, all models, example SQL queries
docs/ROADMAP.mdPhase history and planned work
docs/TESTING_MCP.mdHow 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

AGPL-3.0

來源:README.md,提交 74ab1a3

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

6
  1. v0.15.2最新Oct 11, 2026
  2. v0.15.1Oct 11, 2026
  3. v0.15.0Oct 11, 2026
  4. v0.14.0Sep 20, 2026
  5. v0.12.1Sep 20, 2026
  6. v0.12.0Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。