@openephemeris/mcp-server 4.8.0 → 4.10.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/tools/apps/bazi-app.js +14 -7
  3. package/dist/tools/apps/bi-wheel-app.js +5 -5
  4. package/dist/tools/apps/bodygraph-app.js +8 -8
  5. package/dist/tools/apps/chart-wheel-app.js +4 -4
  6. package/dist/tools/apps/location-tools.js +68 -6
  7. package/dist/tools/apps/moon-phase-app.js +1 -1
  8. package/dist/tools/apps/vedic-chart-app.js +1 -1
  9. package/dist/tools/auth.js +8 -0
  10. package/dist/tools/dev.js +15 -5
  11. package/dist/tools/specialized/account.js +5 -1
  12. package/dist/tools/specialized/acg.js +2 -2
  13. package/dist/tools/specialized/bazi.d.ts +38 -0
  14. package/dist/tools/specialized/bazi.js +126 -24
  15. package/dist/tools/specialized/bi_wheel.js +1 -1
  16. package/dist/tools/specialized/chart_wheel.js +1 -1
  17. package/dist/tools/specialized/comparative.js +4 -4
  18. package/dist/tools/specialized/eclipse.js +1 -1
  19. package/dist/tools/specialized/electional.js +5 -5
  20. package/dist/tools/specialized/ephemeris_core.js +2 -2
  21. package/dist/tools/specialized/ephemeris_extended.js +8 -8
  22. package/dist/tools/specialized/hd_bodygraph.js +1 -1
  23. package/dist/tools/specialized/hd_cycles.js +2 -2
  24. package/dist/tools/specialized/hd_group.js +2 -2
  25. package/dist/tools/specialized/human_design.js +1 -1
  26. package/dist/tools/specialized/moon.js +2 -2
  27. package/dist/tools/specialized/natal.js +1 -1
  28. package/dist/tools/specialized/progressed.js +1 -1
  29. package/dist/tools/specialized/relocation.js +1 -1
  30. package/dist/tools/specialized/returns.js +3 -3
  31. package/dist/tools/specialized/synastry.js +1 -1
  32. package/dist/tools/specialized/transits.js +1 -1
  33. package/dist/tools/specialized/vedic.js +1 -1
  34. package/dist/tools/specialized/venus_star_points.js +6 -6
  35. package/package.json +1 -1
@@ -63,7 +63,7 @@ registerTool({
63
63
  additionalProperties: false,
64
64
  },
65
65
  outputSchema: OUTPUT_SCHEMA_IMAGE_AND_JSON,
66
- annotations: { title: "Solar Return", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
66
+ annotations: { title: "Solar Return", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
67
67
  handler: async (args) => {
68
68
  validateRequired(args, ["birth_datetime"]);
69
69
  assertZonedDatetime("birth_datetime", args.birth_datetime, args.timezone);
@@ -136,7 +136,7 @@ registerTool({
136
136
  },
137
137
  // JSON only: this tool never sets include_visual, so it cannot return an image.
138
138
  outputSchema: OUTPUT_SCHEMA_JSON,
139
- annotations: { title: "Lunar Return", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
139
+ annotations: { title: "Lunar Return", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
140
140
  handler: async (args) => {
141
141
  validateRequired(args, ["birth_datetime"]);
142
142
  assertZonedDatetime("birth_datetime", args.birth_datetime, args.timezone);
@@ -196,7 +196,7 @@ registerTool({
196
196
  },
197
197
  // JSON only: this tool never sets include_visual, so it cannot return an image.
198
198
  outputSchema: OUTPUT_SCHEMA_JSON,
199
- annotations: { title: "Planetary Return", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
199
+ annotations: { title: "Planetary Return", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
200
200
  handler: async (args) => {
201
201
  validateRequired(args, ["body", "birth_datetime", "target_datetime"]);
202
202
  assertZonedDatetime("birth_datetime", args.birth_datetime, args.timezone);
@@ -57,7 +57,7 @@ registerTool({
57
57
  additionalProperties: false,
58
58
  },
59
59
  outputSchema: OUTPUT_SCHEMA_IMAGE_AND_JSON,
60
- annotations: { title: "Synastry Chart", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
60
+ annotations: { title: "Synastry Chart", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
61
61
  handler: async (args) => {
62
62
  validateRequired(args, [
63
63
  "person_a_datetime", "person_a_latitude", "person_a_longitude",
@@ -64,7 +64,7 @@ registerTool({
64
64
  additionalProperties: false,
65
65
  },
66
66
  outputSchema: OUTPUT_SCHEMA_JSON,
67
- annotations: { title: "Transit Search", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
67
+ annotations: { title: "Transit Search", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
68
68
  handler: async (args) => {
69
69
  validateRequired(args, ["natal_datetime", "natal_latitude", "natal_longitude", "start_date", "end_date"]);
70
70
  // ── Step 1: Compute natal chart to extract real planetary longitudes ──
@@ -38,7 +38,7 @@ registerTool({
38
38
  additionalProperties: false,
39
39
  },
40
40
  outputSchema: OUTPUT_SCHEMA_JSON,
41
- annotations: { title: "Vedic Natal Chart", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
41
+ annotations: { title: "Vedic Natal Chart", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
42
42
  handler: async (args) => {
43
43
  validateRequired(args, ["datetime", "latitude", "longitude"]);
44
44
  validateCoordinates(args, "latitude", "longitude");
@@ -35,7 +35,7 @@ registerTool({
35
35
  additionalProperties: false,
36
36
  },
37
37
  outputSchema: OUTPUT_SCHEMA_JSON,
38
- annotations: { title: "Venus Star Points", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
38
+ annotations: { title: "Venus Star Points", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
39
39
  handler: async (args) => {
40
40
  validateRequired(args, ["datetime", "latitude", "longitude"]);
41
41
  assertZonedDatetime("datetime", args.datetime, args.timezone);
@@ -67,7 +67,7 @@ registerTool({
67
67
  additionalProperties: false,
68
68
  },
69
69
  outputSchema: OUTPUT_SCHEMA_JSON,
70
- annotations: { title: "Venus Conjunctions", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
70
+ annotations: { title: "Venus Conjunctions", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
71
71
  handler: async (args) => {
72
72
  validateRequired(args, ["start_date", "end_date"]);
73
73
  const query = {};
@@ -98,7 +98,7 @@ registerTool({
98
98
  additionalProperties: false,
99
99
  },
100
100
  outputSchema: OUTPUT_SCHEMA_JSON,
101
- annotations: { title: "Venus 8-Year Star", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
101
+ annotations: { title: "Venus 8-Year Star", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
102
102
  handler: async (args) => {
103
103
  validateRequired(args, ["date"]);
104
104
  const query = {};
@@ -130,7 +130,7 @@ registerTool({
130
130
  additionalProperties: false,
131
131
  },
132
132
  outputSchema: OUTPUT_SCHEMA_JSON,
133
- annotations: { title: "Venus Phase", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
133
+ annotations: { title: "Venus Phase", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
134
134
  handler: async (args) => {
135
135
  const query = {};
136
136
  if (args.format)
@@ -158,7 +158,7 @@ registerTool({
158
158
  additionalProperties: false,
159
159
  },
160
160
  outputSchema: OUTPUT_SCHEMA_JSON,
161
- annotations: { title: "Venus Elongations", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
161
+ annotations: { title: "Venus Elongations", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
162
162
  handler: async (args) => {
163
163
  validateRequired(args, ["start_date", "end_date"]);
164
164
  const query = {};
@@ -189,7 +189,7 @@ registerTool({
189
189
  additionalProperties: false,
190
190
  },
191
191
  outputSchema: OUTPUT_SCHEMA_JSON,
192
- annotations: { title: "Venus Stations", readOnlyHint: true, destructiveHint: false, idempotentHint: true },
192
+ annotations: { title: "Venus Stations", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
193
193
  handler: async (args) => {
194
194
  validateRequired(args, ["start_date"]);
195
195
  const query = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openephemeris/mcp-server",
3
- "version": "4.8.0",
3
+ "version": "4.10.0",
4
4
  "description": "Model Context Protocol server for the Open Ephemeris astronomical computation API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",