Skip to main content
Glama
molpass

mcp-ziwei

by molpass

mcp-ziwei

생년월일·출생시각·성별을 받아 자미두수(紫微斗数) 명반을 계산해 반환하는 MCP 서버. 12궁 + 주성/보좌성 + 사화(四化) 텍스트와 12궁 명반 PNG를 돌려준다.

구조·네이밍·PNG·설치 규약은 STANDARD.md를 따른다. mcp-qr skeleton 복제본.


계산 / 렌더

  • 계산: iztro — 경량 자미두수 성반 생성 라이브러리(JS). 한국어 로케일 ko-KR 지원.

  • 렌더: @napi-rs/canvas(prebuilt) — 12궁 4×4 그리드 직접 렌더.

  • 결정론적: 같은 입력 → 같은 명반.


Related MCP server: ziwei-mcp

도구

get_ziwei

파라미터

타입

필수

기본

설명

birthDate

string YYYY-MM-DD

생년월일

birthTime

string HH:MM

출생시각 → 時辰 인덱스로 변환

gender

male | female

성별

calendarType

solar | lunar

solar

양/음력

lang

string

ko-KR

로케일

時辰 변환 (HH:MM → timeIndex 012): iztro util.timeToIndex 사용. 子시는 早子(00:0000:59 → 0)·晚子(23:00~23:59 → 12)로 분리한다.

출력 (둘 다 반환):

  1. 구조화 텍스트 — 12궁(천간지지·주성·보좌성·명궁★/신궁☆) + 명주/신주/오행국 + 사화(록/권/과/기)

  2. 명반 PNG (1080×1080, 12궁 4×4 그리드, 중앙 출생정보)

예제 출력: examples/ziwei_example.png (양력 2000-08-16 03:00 寅시 · 여성).


설치

git clone https://github.com/molpass/mcp-ziwei.git
cd mcp-ziwei
npm install && npm run build

예제 명반을 직접 생성해 보려면:

npm run example   # examples/ziwei_example.png 재생성

폰트: 한글·한자 라벨을 위해 한글 가능 폰트가 필요하다. Windows는 Malgun Gothic 기본 탑재라 추가 설치 불필요. Linux는 Nanum/Noto CJK 권장.


MCP 등록 (서버명 ziwei)

{
  "mcpServers": {
    "ziwei": {
      "command": "node",
      "args": ["/abs/path/mcp-ziwei/dist/index.js"]
    }
  }
}

/abs/path는 클론한 실제 절대경로로 바꾼다. Windows 예: "args": ["C:/Users/<you>/mcp-ziwei/dist/index.js"]


스킬

페어링 스킬: skill/ziwei.skill.md.

About / 제작

Hermes Agent용 MCP — molpass의 바이브 코딩(vibe coding) 프로젝트.

  • 아이디어·방향: molpass (이정훈) · https://zeolinex.com

  • 기획: Claude (Chat)

  • 개발: Claude Code

자가 호스팅 Hermes Agent에 도구로 붙여 쓰는 MCP 서버입니다.

같은 모음:

License

MIT

Available Tools

1 tool
get_ziweiGet Zi Wei Dou Shu ChartA

생년월일·출생시각·성별을 받아 자미두수(紫微斗数) 명반을 계산한다. 12궁 + 주성/보좌성 + 사화(四化) 텍스트와 12궁 명반 PNG를 반환한다. iztro 기반, 결정론적.

ParametersJSON Schema
NameRequiredDescriptionDefault
birthDateYes생년월일 (YYYY-MM-DD)
birthTimeYes출생시각 (HH:MM, 24시간) → 時辰 인덱스로 변환
genderYes성별
calendarTypeNo양력(solar) / 음력(lunar)solar
langNo로케일 (기본 ko-KR)ko-KR

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must cover behavioral traits. It states the tool is deterministic and based on iztro, but does not disclose safety (e.g., read-only or destructive), authentication needs, or potential side effects. The output format is mentioned but not detailed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with three sentences. The first sentence states the purpose, the second describes outputs, and the third adds technical context. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the moderate complexity (5 parameters, 3 required, no output schema), the description covers the main purpose and outputs. It could mention return structure or usage limitations, but the schema handles parameters well. The lack of output schema is mitigated by describing outputs (text and PNG).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description does not add significant meaning beyond the schema, only noting that birthTime is converted to a time index. It does not explain derivation details or constraints beyond what is in the JSON schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that it calculates a Zi Wei Dou Shu chart based on birth date, time, and gender. It specifies the output (12 palaces, main stars, auxiliary stars, four transformations text, and PNG). The verb '계산한다' and resource '명반' are specific, and there are no sibling tools to differentiate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions it is based on iztro and deterministic, but does not provide guidance on when to use this tool versus alternatives. No sibling tools exist, so differentiation is not needed, but the lack of contextual usage advice keeps this at a mid score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev1.0.0
    • First observedget_ziwei

TDQS

A4.1/5.0
Disambiguation5/5

Only one tool exists, so there is no potential for confusion between tools. It is perfectly distinct.

Naming Consistency5/5

With a single tool, there is no naming inconsistency. The name 'get_ziwei' follows a clear verb_noun pattern in snake_case.

Tool Count4/5

One tool is slightly low but still reasonable for a highly focused server that performs a single computation. It does not feel overly thin.

Completeness5/5

The tool fully covers the domain of computing a Ziwei Doushu natal chart, returning both text and image. No obvious gaps for the stated purpose.

Maintenance

ActivityStale
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables generation of detailed Chinese Ziwei Doushu (Purple Star) astrological charts with geographic location support and true solar time conversion. Provides tools for geocoding locations, converting Beijing time to apparent solar time, and creating comprehensive astrology readings based on birth information.
    16
    13
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    Zi Wei Dou Shu (Chinese astrology) charting MCP server. Generates complete ziwei natal charts and transit overlays (12 palaces, 14 major stars, sihua) from birth date and time, powered by FateStar's reversible charting engine.
    23
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Receives birth information and returns Western astrology natal charts including planetary positions, houses, ASC/MC text, and a chart PNG image.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Evaluates Qimen Dunjia divination for a given date and time, returning structured text and a 9-palace PNG chart.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/molpass/mcp-ziwei'

If you have feedback or need assistance with the MCP directory API, please join our Discord server