{"_id":"mingpan","_rev":"10-6fbcafeec6b0b642fe452e4ebff2dc42","name":"mingpan","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.1":{"name":"mingpan","version":"0.1.1","keywords":["mcp","bazi","ziwei","fortune-telling","chinese-astrology","model-context-protocol"],"author":"","license":"Apache-2.0","_id":"mingpan@0.1.1","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://github.com/ChesterRa/mingpan#readme","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"1152facb2343ecfb942c7ee2d0a6b3a3dd8386d6","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.1.tgz","fileCount":231,"integrity":"sha512-EIotZibsFz4U7fZdSUj6CgAeGfihO74PoucnndzSY26MWlqujORpkCkmxolmJsbBfyIiPjaSiA8f5mWDvwlNqg==","signatures":[{"sig":"MEQCIHucolfyCNkZwuHAj4lAkXy3ce1n3AcjSKDgurda16RzAiAXHwsGmP6eXmSPwA6SbSzZH/jsBLzYxZMfVaVBU/OCGA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1697158},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7380c78e543092fb65d6e4bee8f739dff0a22ca4","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"vitest"},"_npmUser":{"name":"dodd85","email":"dodd85@gmail.com"},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP service for accurate Bazi and Ziwei chart calculations","directories":{},"_nodeVersion":"20.19.6","dependencies":{"zod":"^3.23.0","iztro":"^2.5.0","lunar-javascript":"^1.7.3","zod-to-json-schema":"^3.25.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.1_1766027423423_0.8353878993627843","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"mingpan","version":"0.1.2","keywords":["mcp","bazi","ziwei","fortune-telling","chinese-astrology","model-context-protocol"],"author":"","license":"Apache-2.0","_id":"mingpan@0.1.2","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://github.com/ChesterRa/mingpan#readme","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"e3a8943dc5967ad657abd46c707657f96fada43b","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.2.tgz","fileCount":355,"integrity":"sha512-+J1uIoZHXpDBR5Rc422NnLOHPl/rAB0nbRDEpQ9WgzF0sU1/mQdcTpvRXNZYRxDBPNol/ATJ0ohomz1b7MQiEw==","signatures":[{"sig":"MEUCIBI1Wnk0zYL3KfTp9dED5BXnh5Ij49u3YH/u1xGH84HfAiEAw8/NongHmO9lpdo+Vmwgggkn2bNl7fbYQkwHQxOzaO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2003068},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"29315a4bb1d10d6ba88ad4aa79155757f4497508","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"vitest"},"_npmUser":{"name":"dodd85","email":"dodd85@gmail.com"},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP service for accurate Bazi and Ziwei chart calculations","directories":{},"_nodeVersion":"20.19.6","dependencies":{"zod":"^3.23.0","iztro":"^2.5.0","lunar-javascript":"^1.7.3","zod-to-json-schema":"^3.25.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.2_1766138061991_0.651068351578302","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"mingpan","version":"0.1.3","keywords":["mcp","bazi","ziwei","fortune-telling","chinese-astrology","model-context-protocol"],"author":"","license":"Apache-2.0","_id":"mingpan@0.1.3","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://github.com/ChesterRa/mingpan#readme","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"051ee2e7a942b63932152f52186b3d14b31b4369","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.3.tgz","fileCount":459,"integrity":"sha512-0lElvRfTP7c2lS2Yx5AkiBorfGZP2XXxhR3ojegZ1FbHK90UInbqdctA2FQvMnTvqCXm1rBr8SL1YFz1Hcg1kA==","signatures":[{"sig":"MEUCIAyuW5KJLa9nO0EdRM+59foxdPjB6D6gtNtaEHHim0eGAiEAu8KyxQAeXRNeAo5CUe5JV/Qfoaedg4uwYOzB9p0/Pdg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2468444},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"fa80a129fe2e79801217b23b3de2f8c9bd4559f3","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"vitest"},"_npmUser":{"name":"dodd85","email":"dodd85@gmail.com"},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP service for accurate Bazi and Ziwei chart calculations","directories":{},"_nodeVersion":"20.19.6","dependencies":{"zod":"^3.23.0","iztro":"^2.5.0","lunar-javascript":"^1.7.3","zod-to-json-schema":"^3.25.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.3_1767096975473_0.5306910096119657","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"mingpan","version":"0.1.4","keywords":["mcp","bazi","ziwei","liuyao","meihua","daliuren","qimen","qimen-dunjia","fortune-telling","chinese-astrology","i-ching","divination","model-context-protocol"],"author":{"name":"ChesterRa"},"license":"Apache-2.0","_id":"mingpan@0.1.4","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://github.com/ChesterRa/mingpan#readme","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"ef6afa064b7166d684e8b22ea50d1bc33f2522f0","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.4.tgz","fileCount":463,"integrity":"sha512-ZuxbQIHQowwFlr52bNTaJcgBkOERrhMinAP/lx+X+aDU/iyQQPU0yICekNFEDSqBvU1CkOBeIy558vf8XrwFjg==","signatures":[{"sig":"MEUCIBxH9A1Qiu+OPTpSF4T2t2h3JOLjJvIOhCSAYOCcX9DTAiEAnyqvW4yrQpzOFi1HDnwCSJQ+sgxqpb2sHg+a03Z65KE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mingpan@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2150698},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"f07b2138174c1f557dfe18f79e4d73abb63b02fc","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd0f0e5c-3e45-4db1-82ba-12a550a830e5"}},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"11.17.0","description":"MCP service for Chinese metaphysics chart calculations: BaZi, ZiWei Dou Shu, LiuYao, MeiHua YiShu, DaLiuRen, and QiMen DunJia","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","iztro":"^2.6.0","lunar-javascript":"^1.7.7","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.4_1787938405247_0.7288425587994056","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"mingpan","version":"0.1.5","keywords":["mcp","bazi","ziwei","liuyao","meihua","daliuren","qimen","qimen-dunjia","fortune-telling","chinese-astrology","i-ching","divination","model-context-protocol","八字","紫微斗数","奇门遁甲"],"author":{"name":"ChesterRa"},"license":"Apache-2.0","_id":"mingpan@0.1.5","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://github.com/ChesterRa/mingpan#readme","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"07e17acbc6bd8da9d9c1f7d8321fc076b1aa13fb","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.5.tgz","fileCount":477,"integrity":"sha512-mT9byQ6bHu7eNClGEfajtriIKreAWuPoilr4I1pdiYuw5KlIM3p4yANpjzHt5IziNTTLl6b3ERL7be/0ukfe0Q==","signatures":[{"sig":"MEQCIBeSCWcaDKbf46tKi1KWJHPWX/ESmrKxWUZMLmHjiJf0AiAom/LGvKI1LM6FFQm1nB2a8EpGw03+Dmxo6F3/RlM8HA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mingpan@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2184383},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"69bbcd13381400f2dc15e0a4c1307998efce51ab","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"vitest","deploy:worker":"npm run build && npx wrangler deploy"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd0f0e5c-3e45-4db1-82ba-12a550a830e5"}},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"11.17.0","description":"MCP service for Chinese metaphysics chart calculations: BaZi, ZiWei Dou Shu, LiuYao, MeiHua YiShu, DaLiuRen, and QiMen DunJia","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","iztro":"^2.6.0","lunar-javascript":"^1.7.7","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","typescript":"^5.3.3","@types/node":"^20.11.17"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.5_1788235039797_0.21969307985901998","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"mingpan","version":"0.1.6","keywords":["mcp","bazi","ziwei","liuyao","meihua","daliuren","qimen","qimen-dunjia","fortune-telling","chinese-astrology","i-ching","divination","model-context-protocol","八字","紫微斗数","奇门遁甲"],"author":{"name":"ChesterRa"},"license":"Apache-2.0","_id":"mingpan@0.1.6","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://github.com/ChesterRa/mingpan#readme","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"9c3f2724adaeb61346fb08568e0dc63a7e3fd12f","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.6.tgz","fileCount":477,"integrity":"sha512-VLPb7MRwThzLg21GoooPbJiwfuCzWcY3cvfh8il9pFTz82yoZubamyH2bNxaRIisrdUcuvdTDh71S9YDyJGRUw==","signatures":[{"sig":"MEUCIBvHaX9+S1Iycz/whnvrbj23QJ68KtoGbswx6u5nfMkzAiEArWULy/zF4EFQhsaC/F8F4fH0MA1T1nhlKv1RchrbEMg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mingpan@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2180190},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"7a6570b006674edaea40f2c7f9e014490cc6cee3","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"vitest","deploy:worker":"npm run build && npx wrangler deploy"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bd0f0e5c-3e45-4db1-82ba-12a550a830e5"}},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"11.17.0","description":"MCP service for Chinese metaphysics chart calculations: BaZi, ZiWei Dou Shu, LiuYao, MeiHua YiShu, DaLiuRen, and QiMen DunJia","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","iztro":"^2.6.0","lunar-javascript":"^1.7.7","@modelcontextprotocol/server":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","typescript":"^5.3.3","@types/node":"^20.11.17","@modelcontextprotocol/client":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.6_1788246750119_0.2026756288679743","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"mingpan","version":"0.1.7","keywords":["mcp","bazi","ziwei","liuyao","meihua","daliuren","qimen","qimen-dunjia","fortune-telling","chinese-astrology","i-ching","divination","model-context-protocol","八字","紫微斗数","奇门遁甲"],"author":{"name":"ChesterRa"},"license":"Apache-2.0","_id":"mingpan@0.1.7","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"homepage":"https://mingpan.bzwai.com","bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"bin":{"mingpan":"dist/index.js"},"dist":{"shasum":"afbd108e874af69f2c693d017db33f18b363cbbf","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.7.tgz","fileCount":477,"integrity":"sha512-NniAUCJreK9S/z/ederBKhqRLWDxxdzIyfQsLNRdp3CMo53CUT1qlkk89yuDFEMAFJjEnq3ZBklNs2nYN6u9IQ==","signatures":[{"sig":"MEUCIAPkSpRnoZa17OOp0uVT6XXl4ZFo77ELWhe8V2ikZDkjAiEAs87LcEjcq3J/tLVxmuv2H2iiV90qTHRLjWGiGtoZiGg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mingpan@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2193012},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"gitHead":"c6c45057a74da423cef7cd3cf1e06587d001f6e1","scripts":{"dev":"tsc --watch","test":"vitest run","build":"npm run build:site && tsc","check":"npm run build && npm test && npm run smoke:stdio","start":"node dist/index.js","prepare":"npm run build","build:site":"node scripts/build-site.mjs","test:watch":"vitest","smoke:stdio":"node scripts/smoke-stdio.mjs","smoke:remote":"node scripts/smoke-remote.mjs","deploy:worker":"npm run check && npm run deploy:worker:dry-run && wrangler deploy","deploy:worker:dry-run":"wrangler deploy --dry-run","verify:release-version":"node scripts/verify-release-version.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c951c0e7-7aea-451c-ad93-fb7b69cf7282"}},"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"11.17.0","description":"MCP service for Chinese metaphysics chart calculations: BaZi, ZiWei Dou Shu, LiuYao, MeiHua YiShu, DaLiuRen, and QiMen DunJia","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","iztro":"^2.6.0","lunar-javascript":"^1.7.7","@modelcontextprotocol/server":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.11","wrangler":"4.127.1","typescript":"^5.3.3","@types/node":"^20.11.17","@modelcontextprotocol/client":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mingpan_0.1.7_1788357169879_0.973656832369014","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"_id":"mingpan@0.1.8","bin":{"mingpan":"dist/index.js"},"bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"dist":{"shasum":"1b2ba3c7ba9517013d39fdd36a331b9efcdab30d","tarball":"https://registry.npmjs.org/mingpan/-/mingpan-0.1.8.tgz","fileCount":477,"integrity":"sha512-y+pan41PGsQeYmZh1bHPbE7AQfM44b+a3Sgzg934B8cKQwveBYpBg+h5N3qmIqRiVmrFyfSS8kAJuiC+jx3QCg==","signatures":[{"sig":"MEUCIQDTPP4TYL7J/9x8O9/CZClidwcxFSp/8vNsJ6DiLozDbAIgEpktZNiz9Rj41HtfctOBbFh/5XOXZDuj847ZQgiB8sM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHkrqwcXX6N39LZBtnS0rK6A8Y3mqs7IVPAovut7BFxSAiBNkHhg1qREp6x+NUmYsHMq6gyXUv7Kmsg1RTXSs4lDfA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mingpan@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2194943},"main":"dist/index.js","name":"mingpan","types":"dist/index.d.ts","author":{"name":"ChesterRa"},"engines":{"node":">=20.0.0"},"gitHead":"d4cab8f27d14541c1219650318c0c40e80cb492c","license":"Apache-2.0","scripts":{"dev":"tsc --watch","test":"vitest run","build":"npm run build:site && tsc","check":"npm run build && npm test && npm run smoke:stdio","start":"node dist/index.js","prepare":"npm run build","build:site":"node scripts/build-site.mjs","test:watch":"vitest","smoke:stdio":"node scripts/smoke-stdio.mjs","smoke:remote":"node scripts/smoke-remote.mjs","deploy:worker":"npm run check && npm run deploy:worker:dry-run && wrangler deploy","deploy:worker:dry-run":"wrangler deploy --dry-run","verify:release-version":"node scripts/verify-release-version.mjs"},"version":"0.1.8","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c951c0e7-7aea-451c-ad93-fb7b69cf7282"}},"homepage":"https://mingpan.bzwai.com","keywords":["mcp","bazi","ziwei","liuyao","meihua","daliuren","qimen","qimen-dunjia","fortune-telling","chinese-astrology","i-ching","divination","model-context-protocol","八字","紫微斗数","奇门遁甲"],"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"_npmVersion":"11.19.0","description":"MCP service for Chinese metaphysics chart calculations: BaZi, ZiWei Dou Shu, LiuYao, MeiHua YiShu, DaLiuRen, and QiMen DunJia","directories":{},"maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.4.3","iztro":"^2.6.0","lunar-javascript":"^1.7.7","@modelcontextprotocol/server":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.11","wrangler":"4.127.1","typescript":"^5.3.3","@types/node":"^20.11.17","@modelcontextprotocol/client":"^2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mingpan_0.1.8_1790698019619_0.12451102712179951"}}},"time":{"created":"2025-12-17T16:48:53.299Z","modified":"2026-09-29T16:07:00.078Z","0.1.0":"2025-12-17T16:48:53.509Z","0.1.1":"2025-12-18T03:10:23.611Z","0.1.2":"2025-12-19T09:54:22.149Z","0.1.3":"2025-12-30T12:16:15.691Z","0.1.4":"2026-08-28T17:33:25.404Z","0.1.5":"2026-09-01T03:57:19.987Z","0.1.6":"2026-09-01T07:12:30.263Z","0.1.7":"2026-09-02T13:52:50.040Z","0.1.8":"2026-09-29T16:06:59.718Z"},"bugs":{"url":"https://github.com/ChesterRa/mingpan/issues"},"author":{"name":"ChesterRa"},"license":"Apache-2.0","homepage":"https://mingpan.bzwai.com","keywords":["mcp","bazi","ziwei","liuyao","meihua","daliuren","qimen","qimen-dunjia","fortune-telling","chinese-astrology","i-ching","divination","model-context-protocol","八字","紫微斗数","奇门遁甲"],"repository":{"url":"git+https://github.com/ChesterRa/mingpan.git","type":"git"},"description":"MCP service for Chinese metaphysics chart calculations: BaZi, ZiWei Dou Shu, LiuYao, MeiHua YiShu, DaLiuRen, and QiMen DunJia","maintainers":[{"name":"dodd85","email":"dodd85@gmail.com"}],"readme":"# 命盘 MCP Server\n\n**简体中文（主文档）** | [English](README.en.md) | [日本語](README.ja.md)\n\n[![Version](https://img.shields.io/badge/version-0.1.8-blue.svg)](https://github.com/ChesterRa/mingpan)\n[![License](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)\n\n**命盘（Mingpan）** 是一个开源的中华传统术数 MCP 计算引擎，为 AI 应用提供命理排盘与占卜起卦能力。BaziWei 同时维护可直接使用的官方远程服务。\n\n## 立即使用官方 MCP\n\n将下面的端点添加到支持 Remote MCP / Streamable HTTP 的 AI 客户端：\n\n```text\nhttps://mingpan.bzwai.com/mcp\n```\n\n无需安装 Node.js，也无需自行部署服务器。添加后可以直接尝试：\n\n> 请帮我排一个八字命盘，1992年4月12日7点30分，男性\n\n> 请帮我起一个奇门遁甲时盘，2024年6月21日10点\n\n先访问 [Mingpan 开源项目网站](https://mingpan.bzwai.com) 可查看能力范围与连接说明。官方服务由 [BaziWei](https://bzwai.com) 维护；源代码与计算口径继续在本仓库公开，方便审阅、复现与共同改进。\n\n## 特性\n\n-  **MCP 原生**：无缝集成 Claude Desktop 及 Claude Code\n- 🌏 **中文输出**：以简体为主，术语保持传统\n- 📊 **结构化文本**：便于 AI 理解与分析的格式\n- 🕐 **多时区支持**：海外出生/起卦时间自动换算为北京时间排盘\n\n## 使用方式\n\n| 形态 | 适用 | 用法 |\n| ---- | ---- | ---- |\n| **官方远程 MCP**（推荐） | 支持 Remote MCP / Streamable HTTP 的 AI 客户端 | 添加 `https://mingpan.bzwai.com/mcp` |\n| **本地 stdio MCP** | 本地开发、离线使用或要求资料不离开设备 | 见下方可选配置 |\n\n官方远程服务使用无状态纯计算：不建立命盘数据库，不缓存或记录出生参数与命盘结果。若要求资料完全不离开设备，可选择本地 stdio 形态。\n\n## 本地运行（可选）\n\n### Claude Desktop\n\n找到配置文件并添加以下内容：\n\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n- **Linux**: `~/.config/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"mingpan\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mingpan\"]\n    }\n  }\n}\n```\n\n### Claude Code\n\n```bash\nclaude mcp add mingpan -- npx -y mingpan\n```\n\n### 验证\n\n配置完成后重启客户端，然后尝试：\n\n> 请帮我排一个八字命盘，1992年4月12日7点30分，男性\n\n> 请帮我起一个奇门遁甲时盘，2024年6月21日10点\n\n## 工具列表\n\n### 命理排盘\n\n命理学基于出生时间推算人生运势，属于「命」的范畴。\n\n#### 八字命理\n\n| 工具           | 说明                                       |\n| -------------- | ------------------------------------------ |\n| `bazi_basic`   | 八字四柱排盘（干支纳音、天干/藏干十神、十二长生自坐、命宫/胎元、旬空、公农历对照；五行/格局/用神由 AI 分析） |\n| `bazi_dayun`   | 大运列表（十年一运）                       |\n| `bazi_liunian` | 流年列表（指定年份范围）                   |\n| `bazi_liuyue`  | 流月列表（节气月，立春起算）               |\n| `bazi_liuri`   | 流日列表（指定月份内每日）                 |\n\n#### 紫微斗数\n\n| 工具             | 说明                                     |\n| ---------------- | ---------------------------------------- |\n| `ziwei_basic`    | 紫微命盘排盘（十二宫、主星、辅星、五行局/命主/身主、四化） |\n| `ziwei_daxian`   | 大限列表（十年一限）                     |\n| `ziwei_xiaoxian` | 小限列表（每年一宫）                     |\n| `ziwei_liunian`  | 流年列表（指定年份范围）                 |\n| `ziwei_liuyue`   | 流月列表（农历月）                       |\n| `ziwei_liuri`    | 流日列表（农历日）                       |\n\n### 历法原语\n\n历法计算是所有术数的公共地基，也可独立使用。\n\n| 工具             | 说明                                         |\n| ---------------- | ---------------------------------------------- |\n| `jieqi_query`    | 二十四节气精确时刻查询（精确到秒，北京时间） |\n| `calendar_convert` | 公历/农历互转（含闰月、干支年月日、生肖）  |\n\n节气是天文事件（AI 无法推算，如 2025 年立春是 2 月 3 日 22:10 而非 2 月 4 日），\n农历闰月分配无简单规律（AI 经常猜错）——两者是本产品确定性计算的核心价值。\n\n### 占卜起卦\n\n占卜术基于起卦时间或随机数推演卦象，属于「卜」的范畴。\n\n#### 六爻\n\n| 工具           | 说明                                                |\n| -------------- | --------------------------------------------------- |\n| `liuyao_basic` | 六爻排盘（本卦/变卦、纳甲、六亲、六神、世应、旬空、伏神/飞神、进退神、旺衰） |\n\n六爻输入为六个爻值（自下而上）：\n- 6 = 老阴（动爻，阴变阳）\n- 7 = 少阳（静爻）\n- 8 = 少阴（静爻）\n- 9 = 老阳（动爻，阳变阴）\n\n#### 梅花易数\n\n| 工具           | 说明                                     |\n| -------------- | ---------------------------------------- |\n| `meihua_basic` | 梅花易数排盘（本卦/变卦/互卦、体用分析） |\n\n支持两种起卦方式：\n- 时间起卦：根据农历年月日时计算\n- 数字起卦：根据两个数字计算\n\n爻位统一**自下而上**编号 1–6；变卦反转指定动爻，互卦取本卦第 2、3、4 爻为下卦，第 3、4、5 爻为上卦。依据为《梅花易数》卷一的[八卦象例、爻以六除与互卦起例](https://zh.wikisource.org/wiki/梅花易數/卷一)。当前实现对乾、坤也按相同爻位取互；未采用原文另述的“乾坤无互，互其变卦”分支。\n\n**0.1.8 修复**：[Issue #2](https://github.com/ChesterRa/mingpan/issues/2) 指出的爻序映射错误会影响旧版的变卦和互卦。按上述取互规则，64 卦 × 6 动爻中有 256 个变卦结果、64 卦中有 60 个互卦结果需要纠正。时间与数字起卦均受影响；本卦、动爻编号与本卦体用关系不变，输入参数和文本结构兼容。升级后，依赖旧互变卦的解读需重新计算后复核。\n\n#### 大六壬\n\n| 工具             | 说明                                             |\n| ---------------- | -------------------------------------------------- |\n| `daliuren_basic` | 大六壬排盘（天地盘、四课、三传、十二天将、神煞） |\n\n大六壬为三式之首。**推荐直接输入公历起课时间**（year/month/day/hour），\n节气、月将、日干支、时干支由系统自动推得（LLM 手推干支极易出错）。\n也可显式指定 `jieqi`/`dayGanZhi`/`hourGanZhi`（专家模式，向后兼容）。\n\n#### 奇门遁甲\n\n| 工具            | 说明 |\n| --------------- | ---- |\n| `qimen_basic`   | 奇门遁甲排盘（九宫布局、三奇六仪、八门九星八神、格局检测） |\n| `qimen_yongshen`| 奇门用神分析（按事类选取用神，含主客、旺衰、空亡、入墓等确定性信息） |\n\n奇门遁甲为三式之一，盘式与规则主要参考张志春《神奇之门》，支持：时盘/日盘/月盘/年盘、转盘/飞盘、拆补法/茅山法。\n\n\n\n## 输出示例（bazi_basic）\n\n```text\n=== 命主資料 ===\n性別：男\n公曆：1992-04-12 07:30:00\n農曆：壬申年三月初十辰時\n\n=== 八字命盤 ===\n年柱：壬申（剑锋金）  月柱：甲辰（覆灯火）  日柱：戊午（天上火）  時柱：丙辰（沙中土）\n日柱旬空：子丑\n命宮：己酉　胎元：乙未\n天干十神：年干水=偏財　月干木=七殺　時干火=偏印\n藏干十神（※本氣）：年申[庚食神※ 壬偏財 戊比肩]　月辰[戊比肩※ 乙正官 癸正財]　日午[丁正印※ 己劫財]　時辰[戊比肩※ 乙正官 癸正財]\n十二長生（自坐）：年长生　月衰　日帝旺　時冠带\n```\n\n只包含确定性排盘信息；五行强弱、格局、用神等解读由 AI 依据盘面自行分析。\n\n## 输入参数\n\n### 命理工具（八字/紫微）\n\n| 参数      | 类型    | 必填 | 说明                         |\n| --------- | ------- | ---- | ---------------------------- |\n| year      | number  | ✓    | 出生年份（1900-2100）        |\n| month     | number  | ✓    | 出生月份（1-12）             |\n| day       | number  | ✓    | 出生日期（1-31）             |\n| hour      | number  | ✓    | 出生时辰（0-23）             |\n| minute    | number  |      | 出生分钟（0-59），默认 0     |\n| gender    | string  | ✓    | `male` / `female`            |\n| longitude | number  |      | 出生地经度，用于真太阳时校正 |\n| isLunar   | boolean |      | 是否为农历输入，默认 false   |\n| timezone  | string  |      | IANA 时区名（如 `America/New_York`），默认北京时间 |\n\n### 时区说明（v0.1.4+）\n\n- 输入时间默认按**北京时间**排盘\n- 海外出生/起卦时提供 `timezone` 参数，系统将当地墙钟时间换算为北京时间后计算\n- 输入侧使用 IANA 时区数据库（正确处理各国历史夏令时，如 1986-1991 年中国夏令时）\n- 内部规范表示为 UTC+8 平太阳时，与历法换算口径一致\n\n### 占卜工具（六爻/梅花/大六壬）\n\n- 六爻/梅花：输入起卦时间（支持 `timezone`），爻值/卦数由调用方提供\n- 大六壬：**推荐直接输入公历时间**，节气与干支自动推得；也可显式指定（专家模式）\n\n### 奇门遁甲工具\n\n| 参数         | 类型    | 必填 | 说明 |\n| ------------ | ------- | ---- | ---- |\n| year         | number  | ✓    | 起盘年份（1900-2100） |\n| month        | number  | ✓    | 起盘月份（1-12） |\n| day          | number  | ✓    | 起盘日期（1-31） |\n| hour         | number  | ✓    | 起盘时辰（0-23） |\n| minute       | number  |      | 分钟（0-59），默认 0 |\n| isLunar      | boolean |      | 是否为农历输入，默认 false |\n| timezone     | string  |      | IANA 时区名，默认北京时间 |\n| panType      | string  |      | `时盘` / `日盘` / `月盘` / `年盘`，默认 `时盘` |\n| panStyle     | string  |      | `转盘` / `飞盘`，默认 `转盘` |\n| zhiRunMethod | string  |      | `chaibu`（拆补法）/ `maoshan`（茅山法），默认 `chaibu` |\n\n## 月份基准说明\n\n| 系统 | 月份基准           | 日期基准 |\n| ---- | ------------------ | -------- |\n| 八字 | 节气月（立春起算） | 公历日   |\n| 紫微 | 农历月（初一起算） | 农历日   |\n\n## 开发\n\n```bash\ngit clone https://github.com/ChesterRa/mingpan.git\ncd mingpan\nnpm ci\nnpm run check                 # 构建 + 完整测试\nnpm run deploy:worker:dry-run # 只验证 Worker 打包，不部署\nnpm run dev  # 监听变化\n```\n\n## 依赖\n\n| 库                          | 用途             |\n| --------------------------- | ---------------- |\n| `@modelcontextprotocol/server` | MCP v2 服务端协议实现 |\n| `@modelcontextprotocol/client` | MCP v2 协议集成测试   |\n| `lunar-javascript`          | 农历/公历转换    |\n| `iztro`                     | 紫微斗数计算引擎 |\n| `zod`                       | 输入参数校验     |\n\n## 路线图\n\n- [x] 八字基础排盘与时运列表\n- [x] 紫微基础排盘与时运列表\n- [x] 六爻排盘\n- [x] 梅花易数排盘\n- [x] 大六壬排盘\n- [x] 奇门遁甲排盘\n- [x] 大六壬时间起课（自动推节气/干支）\n- [x] 多时区支持（timezone 参数）\n- [x] 奇门口径修正（拆补符头、地盘布局、转盘星门，参照《神奇之门》与 kinqimen 交叉验证）\n- [x] 排盘完整性对称盘点（八字补纳音/藏干十神/十二长生/命宫胎元，紫微补五行局/命主/身主）\n- [x] 输出契约测试全覆盖 + 权威用例金样本（历史人物记载、立春分钟级边界、iztro 适配保真）\n\n## 版本历史\n\n| 版本 | 说明 |\n| ---- | ---- |\n| [0.1.8](docs/release-notes-0.1.8.md) | **梅花正确性修复**：统一八卦爻序与反向映射，纠正变卦和互卦；独立位运算穷举 384 种变卦与 64 种互卦，补齐 MCP、HTTP 与构建后 stdio 回归；感谢 [@1270643866](https://github.com/1270643866) 的详细报告 |\n| 0.1.7 | **官方托管服务**：`mingpan.bzwai.com` 产品站与 `/mcp` 同仓、同版本、同一 Worker 发布；生产域名、无状态隐私边界、Host/Origin、请求体、限流与现代 MCP 协议烟雾测试完成收口；测试 300 |\n| 0.1.6 | **MCP SDK v2 迁移**（2026-07-28 无状态协议，原生支持 Cloudflare Workers，向后兼容旧客户端）；远程 HTTP 入口从 50 行简化为 20 行（createMcpHandler）；Workers 打包 gzip 638→606KB；测试 288 |\n| 0.1.5 | **口径裁决**：子初换日（23:00 起日柱时柱同属次日，全五系统统一）；起运权威化（lunar 节气表 + 交运日历定位）；奇门年盘按《遁甲演义》典籍修正；真太阳时四柱全量生效；**新能力**：历法原语层（jieqi_query + calendar_convert）；测试 218→288 |\n| 0.1.4 | **正确性修复**：八字立春换年、奇门四类口径修正、stdio 日志修复；**输出定位确立**：只输出确定性排盘量；大六壬时间起课、多时区；测试 117→218 |\n| 0.1.3 | 奇门用神分析与择日 |\n| 0.1.2 | 六爻、梅花易数、大六壬 |\n| 0.1.0 | 首个发布：八字、紫微 |\n\n## 许可证\n\nApache License 2.0\n","readmeFilename":"README.md"}