@openephemeris/mcp-server 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -5
- package/config/dev-allowlist.json +1319 -1165
- package/dist/backend/client.d.ts +12 -0
- package/dist/backend/client.js +115 -38
- package/dist/index.js +5 -0
- package/dist/schema-packs/llm.d.ts +1 -1
- package/dist/schema-packs/llm.js +1 -1
- package/dist/tools/dev.js +7 -3
- package/dist/tools/index.d.ts +7 -0
- package/package.json +18 -21
package/README.md
CHANGED
|
@@ -55,10 +55,31 @@ Cursor deeplink payload:
|
|
|
55
55
|
| Claude Desktop (Windows) | Manual | `%APPDATA%\Claude\claude_desktop_config.json` |
|
|
56
56
|
| Windsurf | Manual | `~/.codeium/windsurf/mcp_config.json` (or legacy `~/.codeium/mcp_config.json`) |
|
|
57
57
|
|
|
58
|
+
### Client install walkthroughs
|
|
59
|
+
|
|
60
|
+
1. Cursor
|
|
61
|
+
- Click the "Install in Cursor" button above, then replace `YOUR_API_KEY_HERE` in Cursor MCP settings.
|
|
62
|
+
- If you prefer manual setup, paste the `mcpServers.openephemeris` block from "Manual install" into `~/.cursor/mcp.json`.
|
|
63
|
+
2. Claude Desktop (macOS/Windows)
|
|
64
|
+
- Open the platform config file from the table above.
|
|
65
|
+
- Add the same `mcpServers.openephemeris` block from "Manual install".
|
|
66
|
+
- Restart Claude Desktop.
|
|
67
|
+
3. Windsurf
|
|
68
|
+
- Open `~/.codeium/windsurf/mcp_config.json` (or the legacy `~/.codeium/mcp_config.json` path).
|
|
69
|
+
- Add the `mcpServers.openephemeris` block from "Manual install".
|
|
70
|
+
- Restart Windsurf.
|
|
71
|
+
|
|
58
72
|
### Remote-only clients (ChatGPT Developer Mode, Antigravity, etc.)
|
|
59
73
|
|
|
60
74
|
This package runs as a local stdio MCP server. Remote-only clients require a hosted MCP endpoint (Streamable HTTP/SSE), so you must run this server behind an MCP bridge/proxy and expose it over HTTPS before adding it in those clients.
|
|
61
75
|
|
|
76
|
+
### Auth and upgrade behavior in MCP clients
|
|
77
|
+
|
|
78
|
+
- Missing/invalid credentials (`401`): tool call fails with a message that points users to sign up/sign in at `https://openephemeris.com/login?signup=true&redirect=%2Fdashboard%3Ftab%3Daccount`, then create/manage keys in `https://openephemeris.com/dashboard?tab=account`.
|
|
79
|
+
- Tier-gated endpoint (`403`): tool call returns an upgrade-required message with `https://openephemeris.com/pay` and dashboard billing/key management link.
|
|
80
|
+
- Monthly quota exhausted (`402`): tool call returns usage quota guidance with both dashboard (`/dashboard?tab=account`) and upgrade (`/pay`) links.
|
|
81
|
+
- Burst/rate limit (`429`): tool call returns retry guidance and links to dashboard usage monitoring.
|
|
82
|
+
|
|
62
83
|
## What You Can Ask
|
|
63
84
|
|
|
64
85
|
- "Calculate a natal chart for 1990-04-15 14:30 in Chicago."
|
|
@@ -140,8 +161,8 @@ OpenEphemeris API
|
|
|
140
161
|
|
|
141
162
|
Generated by `npm run sync:readme` from `config/dev-allowlist.json` and the live tool registry.
|
|
142
163
|
|
|
143
|
-
- Allowlisted operations: **
|
|
144
|
-
- Methods: `GET=22`, `POST=
|
|
164
|
+
- Allowlisted operations: **67**
|
|
165
|
+
- Methods: `GET=22`, `POST=45`, `PUT=0`, `PATCH=0`, `DELETE=0`
|
|
145
166
|
- Registered tools (`ASTROMCP_PROFILE=dev`): **10**
|
|
146
167
|
- Typed tools: `ephemeris.electional`, `ephemeris.moon_phase`, `ephemeris.natal_chart`, `ephemeris.next_eclipse`, `ephemeris.relocation`, `ephemeris.synastry`, `ephemeris.transits`, `human_design.chart`
|
|
147
168
|
- Generic tools: `dev.call`, `dev.list_allowed`
|
|
@@ -150,14 +171,15 @@ Generated by `npm run sync:readme` from `config/dev-allowlist.json` and the live
|
|
|
150
171
|
|
|
151
172
|
| Family | Operations | Example |
|
|
152
173
|
|---|---:|---|
|
|
153
|
-
| `acg` |
|
|
174
|
+
| `acg` | 4 | `POST /acg/ccg`, `GET /acg/health` |
|
|
154
175
|
| `catalogs` | 3 | `GET /catalogs/bodies`, `GET /catalogs/fixed-stars` |
|
|
155
|
-
| `comparative` |
|
|
176
|
+
| `comparative` | 5 | `POST /comparative/composite`, `POST /comparative/composite/midpoint` |
|
|
156
177
|
| `electional` | 5 | `GET /electional/aspect-search`, `GET /electional/find-window` |
|
|
157
|
-
| `ephemeris` |
|
|
178
|
+
| `ephemeris` | 29 | `POST /ephemeris/angles-points`, `POST /ephemeris/aspect-check` |
|
|
158
179
|
| `health` | 1 | `GET /health` |
|
|
159
180
|
| `human-design` | 6 | `POST /human-design/bodygraph`, `POST /human-design/chart` |
|
|
160
181
|
| `location` | 2 | `GET /location/autocomplete`, `GET /location/reverse` |
|
|
161
182
|
| `predictive` | 8 | `POST /predictive/events`, `POST /predictive/returns` |
|
|
162
183
|
| `timezone` | 2 | `POST /timezone/lookup`, `POST /timezone/offset` |
|
|
184
|
+
| `visualization` | 2 | `POST /visualization/bi-wheel`, `POST /visualization/chart-wheel` |
|
|
163
185
|
<!-- GENERATED:RUNTIME_SNAPSHOT:END -->
|