Qimena MCP
A free, public MCP server that provides Qi Men Dun Jia chart casting, BaZi Four Pillars calculation, auspicious time ranking, and solar term listing for AI assistants. It uses the same engine as the Qimena website, requires no authentication or API key, and performs calculations only without storing user data.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://qimena.com/mcpWhat you can do with it
- Casting Qi Men Dun Jia charts for specific moments and locations
- Computing BaZi Four Pillars with true solar time conversion
- Ranking the best upcoming double-hours for specific goals
- Listing 24 solar term instants for any year from 1900 to 2100
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- qimena 1.0.0
- MCP protocol
- 2025-06-18
- Tools
- 4 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
qimen_chart — Qi Men Dun Jia chart
Cast an hour-based Qi Men Dun Jia (奇门遁甲) chart for a moment and place: four pillars, ju, Chief Star and Door, and for each of the nine palaces the deity, star, door, heaven/earth/hidden stems, void, horse star, punishment and door pressure, plus detected patterns, palace scores for the chosen focus and the lucky directions.
{
"type": "object",
"properties": {
"focus": {
"enum": [
"general",
"career",
"wealth",
"love"
],
"type": "string",
"description": "What the question is about; changes palace scores and lucky directions. Default general."
},
"datetime": {
"type": "string",
"description": "Local wall-clock time \"YYYY-MM-DDTHH:mm\" in `timezone`. Omit for now."
},
"timezone": {
"type": "string",
"description": "IANA time zone, e.g. \"Asia/Shanghai\", \"America/New_York\". Default Asia/Shanghai."
},
"longitude": {
"type": "number",
"description": "Longitude of the place in degrees, east positive, west negative. Default: the standard meridian of the time zone."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}bazi_pillars — BaZi Four Pillars
Four Pillars (八字) for a birth moment: converts the clock time with the zone rules for that date (daylight saving included) and the longitude to true solar time; the year follows Li Chun and the day changes at 23:00 true solar time. Returns the pillars, Day Master, five-element counts and the time conversion details.
{
"type": "object",
"required": [
"birth_datetime",
"timezone"
],
"properties": {
"timezone": {
"type": "string",
"description": "IANA time zone of the birthplace, e.g. \"Asia/Shanghai\"."
},
"longitude": {
"type": "number",
"description": "Birthplace longitude, east positive. Default: the standard meridian of the time zone."
},
"birth_datetime": {
"type": "string",
"description": "Birth wall-clock time \"YYYY-MM-DDTHH:mm\", as on the birth certificate."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}best_times — Best upcoming double-hours
Cast a Qi Men chart for every double-hour of the next few days and rank them for a goal, using the person's Day Master from the birth date. Returns the top windows with date, hour branch, true-solar-time range, score and the lucky direction at that time.
{
"type": "object",
"required": [
"birth_date"
],
"properties": {
"top": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "How many windows to return, 1-10. Default 5."
},
"days": {
"type": "integer",
"maximum": 7,
"minimum": 1,
"description": "How many days ahead to scan, 1-7. Default 7."
},
"focus": {
"enum": [
"general",
"career",
"wealth",
"love"
],
"type": "string",
"description": "Goal to rank for. Default general."
},
"longitude": {
"type": "number",
"description": "Longitude of where the person is now, east positive. Default 120 (Beijing meridian)."
},
"birth_date": {
"type": "string",
"description": "Birth date \"YYYY-MM-DD\" (sets the Day Master)."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false
}solar_terms — Solar terms of a year
The 24 solar terms (节气) of a calendar year, 1900-2100, with UTC and Beijing-time instants from the same table the charts use (within about a minute of the Hong Kong Observatory).
{
"type": "object",
"required": [
"year"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900,
"description": "Calendar year."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 470 ms
- 95th percentile latency
- 470 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 470 ms · metadata changed · 4 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http qimena-mcp https://qimena.com/mcpCodex
codex mcp add qimena-mcp --url https://qimena.com/mcpCursor
{
"mcpServers": {
"qimena-mcp": {
"url": "https://qimena.com/mcp"
}
}
}Cline
{
"mcpServers": {
"qimena-mcp": {
"type": "streamableHttp",
"url": "https://qimena.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"qimena-mcp": {
"type": "http",
"url": "https://qimena.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http qimena-mcp https://qimena.com/mcpClaude Desktop
{
"mcpServers": {
"qimena-mcp": {
"url": "https://qimena.com/mcp"
}
}
}Windsurf
{
"mcpServers": {
"qimena-mcp": {
"serverUrl": "https://qimena.com/mcp"
}
}
}Let your agent find its tools
Find servers like Qimena MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.