Featured

Deploy OpenClaw in 60 seconds โ€” 20% off logoDeploy OpenClaw in 60 seconds โ€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger โ†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger โ†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free โ†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free โ†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data โ€” no proxies, no parsers, no maintenance.

Start building free โ†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4โ€“50+ employees): we install, harden, integrate your tools, and maintain it โ€” secured from day one.

Get it set up for you โ†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free โ†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here โ†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

douglasgan/asktian-mcp MCP server](https://glama.ai/mcp/servers/douglasgan/asktian-mcp/badges/score.svg)](https://glama.ai/mcp/servers/douglasgan/asktian-mcp) ๐Ÿ“‡ โ˜๏ธ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Chinese metaphysics (bazi ๅ…ซๅญ—, qimen ๅฅ‡้–€, 5-element, daily ๅนฒๆ”ฏ) as...

README.md

asktian MCP server

![CI](https://github.com/douglasgan/asktian-mcp/actions/workflows/ci.yml) ![npm](https://www.npmjs.com/package/@asktian/mcp-server) ![License: MIT](LICENSE) ![asktian MCP server](https://glama.ai/mcp/servers/douglasgan/asktian-mcp)

Chinese metaphysics inside your AI assistant. ไธ็Ÿฅ้“ๅฐฑ้—ฎๅคฉ ยท Ask tian when you don't know.

Adds 4000 years of Chinese metaphysical traditions (bazi / ๅ…ซๅญ—, qimen / ๅฅ‡้—จ, five elements, daily ๅนฒๆ”ฏ energy) as callable tools for any AI agent that speaks the Model Context Protocol โ€” Claude Desktop, Claude Code, Cursor, Windsurf, Zed, and any MCP-compatible client.

When you ask your AI assistant a timing, person, or decision question, it can quietly consult asktian before answering.

The decision layer for AI agents. Agents already plug in search, memory, and payments โ€” askTIAN is the layer that gives them a stance: a specific, falsifiable call instead of "it depends." โ†’ Why it sells ยท 2-min quickstart

### โœจ Real readings, no key needed. The tools call the live askTIAN backend and return real results โ€” daily almanac, fate compatibility, name analysis, day energy โ€” straight out of the box. The read endpoints are public and rate-limited (~300 requests / 15 min). An optional ASKTIAN_API_KEY (api.asktian.com) raises the limit and unlocks the *premium tian. reading tier**. market_read is a deterministic local novelty signal; best_time returns a guided preview (no backend endpoint yet).

You: "I have a hard conversation with my boss tomorrow at 3pm. Should I move it?"

Claude (with asktian MCP):
  โ†’ calls asktian_best_time_for_action({ birthdate, action: "difficult_conversation" })
  โ†’ "Friday 10am scores much higher. Tomorrow 3pm is your clash hour.
     Want me to draft a message to reschedule?"

---

Install

npm install -g @asktian/mcp-server

Then add to your client's MCP config:

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "asktian": {
      "command": "asktian-mcp",
      "env": {
        "ASKTIAN_API_KEY": "at_live_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Restart Claude Desktop. Look for the ๐Ÿ”Œ icon โ€” asktian should appear with 6 tools.

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "asktian": {
      "command": "asktian-mcp",
      "env": {
        "ASKTIAN_API_KEY": "at_live_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json โ€” same shape as above.

Zed

Add to your Zed settings under assistant.mcp_servers โ€” same command + env.

Any other MCP client

Run asktian-mcp as a subprocess; it speaks JSON-RPC over stdio per the MCP spec.

Remote / hosted (streamable-HTTP)

For LangChain, LlamaIndex, Fetch.ai, or any agent that connects to a hosted MCP endpoint, run the server in HTTP mode instead of stdio:

ASKTIAN_MCP_HTTP=1 PORT=8080 npx -y @asktian/mcp-server
# โ†’ streamable-HTTP on :8080/mcp   (health check: GET :8080/health)

Hosted at https://mcp.asktian.com/mcp. Pass your key as a Bearer header: Authorization: Bearer YOUR_ASKTIAN_API_KEY.

LangChain & LlamaIndex

Both have native MCP adapters โ€” askTIAN works with zero integration code. Copy-paste snippets in docs/langchain-llamaindex.md.

---

API key

The key is optional โ€” readings are real either way.

| | ๐Ÿ†“ No key (default) | ๐Ÿ”‘ With key | |---|---|---| | Setup | nothing โ€” works instantly | get a key at api.asktian.com | | Readings | real โ€” live api.asktian.com backend (daily almanac, compatibility, name analysis, day energy) | same real readings | | Rate limit | ~300 requests / 15 min (per IP) | higher limits | | Premium tian.* tier | โ€” | unlocked | | Cost | free | per the key's plan |

To use a key (higher limits + premium tier), set ASKTIAN_API_KEY in your client config:

{
  "mcpServers": {
    "asktian": {
      "command": "npx",
      "args": ["-y", "@asktian/mcp-server"],
      "env": { "ASKTIAN_API_KEY": "at_live_..." }   // โ† omit this line to stay in local mode
    }
  }
}

Hosted (streamable-HTTP)? Pass it as a header instead: Authorization: Bearer at_live_....

---

The 6 tools

1. asktian_daily_reading

Personalized daily energy reading for a person.

input:  { birthdate: "1992-05-15", birth_hour?: "14:30", gender?: "male"|"female"|"any" }
output: archetype (one of 8 trigrams), today's stem-branch energy,
        favorable colors / direction / hours, headline + body advice

Use when: user asks how today will be, what colors to wear, what direction to face their desk, daily guidance.

2. asktian_compatibility

Fate compatibility between two people. Returns qualitative label first (e.g. "ไบ’่กฅๅž‹ Complementary"), then numeric score (hidden if <60 per asktian design principles โ€” low compat should never feel like rejection).

input:  { person_a_birthdate, person_b_birthdate, dimension?: "love"|"career"|"friend"|"general" }
output: qualitative label, category, element flow, today's advice, score (with should_show_score flag)

Use when: "will this person and I work", "compatibility check", "is this a good match".

3. asktian_best_time_for_action

The killer tool. Find the most auspicious time windows for a specific action over the next N days.

input:  { birthdate, action: "difficult_conversation"|"negotiation"|"launch"|... , range_days?: 7 }
output: top 3 best windows (date + hour + score + reason), windows to avoid

Use when: "when should I do X", "should I move this meeting", "is tomorrow a good day to launch", "when should I have the hard talk".

4. asktian_today_energy

General energy of the day โ€” no birthdate needed.

input:  { date?: "YYYY-MM-DD" } (defaults to today)
output: ๅนฒๆ”ฏ stem+branch, dominant 5-element character, description

Use when: AI wants to add cosmic context to a generic suggestion without needing the user's birthdate.

5. asktian_name_analysis

Quick energetic profile of a name (ๅง“ๅๅญฆ).

input:  { name, language?: "en"|"zh"|"auto" }
output: dominant element guess, tone, one-liner

Use when: discussing baby names, company names, or "what kind of person is X" when birthdate unknown.

6. asktian_market_read

A Chinese-metaphysics signal on a binary prediction-market question (Polymarket/Kalshi style).

input:  { question, resolve_date?: YYYY-MM-DD, subject_birthdate?: YYYY-MM-DD }
output: { signal: { lean: yes|no|neutral, score 5โ€“95, confidence }, reasoning, disclaimer }

Use when: a user or a trading agent wants an uncorrelated, for-fun read on a market โ€” "will X happen by date Y". The value isn't prediction; it's a deterministic signal that doesn't read the same news every LLM reads, published so the calls can be scored over time. โš ๏ธ Entertainment / falsifiable ritual โ€” NOT financial advice. Every response says so, and the tool is built to be presented as a novelty, never as a bet recommendation.

---

Design principles the tools follow

asktian is opinionated. The MCP tools surface these constraints to your AI agent through the note_for_ai field on each response. Notable rules:

  1. Qualitative label always wins. Numbers are secondary.
  2. Scores below 60 hide the number. Use the label only โ€” never make someone feel rejected by a digit.
  3. Most positive accurate framing. Same chart can be read 5 ways; pick the one that respects the person.
  4. Today's advice is specific, not vague. "Reach out before 2pm" beats "Mercury retrograde."

If your AI client surfaces a numeric score when should_show_score: false, it's violating the design contract.

---

Examples โ€” sample prompts that route through asktian

These are the kinds of user prompts that an AI agent with asktian installed handles dramatically better:

| User prompt | Tool the AI will use | |---|---| | "How will today be for me? Born 1992-05-15." | asktian_daily_reading | | "I have a 3pm meeting tomorrow with a difficult client. Should I move it?" | asktian_best_time_for_action | | "My partner is born 1990-08-22 and I'm 1992-05-15. How are we as a couple?" | asktian_compatibility | | "What kind of day is it today?" | asktian_today_energy | | "Is 'Aurora' a good name for my startup?" | asktian_name_analysis | | "Best week to launch my product? My birthdate is..." | asktian_best_time_for_action | | "Should I propose to my partner this month? Mine 1992-05-15, theirs 1990-08-22." | asktian_best_time_for_action + asktian_compatibility |

The agent's response in each case becomes specific and actionable instead of vague.

---

Roadmap

  • [ ] Direct integration with the full api.asktian.com endpoint catalogue (qimen, ziwei, almanac, fengshui, name-analysis traditional)
  • [ ] Lucky places near me (Google Places integration)
  • [ ] Tian-points / $TIAN token incentives for power use
  • [ ] Tools for venue / business: "is this address auspicious for a cafe"
  • [ ] Multi-tradition cross-reference (Western astrology, Vedic, I Ching) โ€” same person, multiple lenses

PRs welcome. The lib/ folder is intentionally self-contained for clean npm distribution.

---

Links

---

License

MIT โ€” use it anywhere, fork it, ship it inside your own product. The asktian protocol is meant to be public infrastructure.

ไธ็Ÿฅ้“ๅฐฑ้—ฎๅคฉ.

See related servers & alternatives โ†’

Related MCP servers

Browse all โ†’

Related guides

Hand-picked reading to help you choose and use Other servers.