
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@asktian/mcp-server
Advanced tools
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.
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?"
npm install -g @asktian/mcp-server
Then add to your client's MCP config:
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 5 tools.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"asktian": {
"command": "asktian-mcp",
"env": {
"ASKTIAN_API_KEY": "at_live_xxxxxxxxxxxxxxxx"
}
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json — same shape as above.
Add to your Zed settings under assistant.mcp_servers — same command + env.
Run asktian-mcp as a subprocess; it speaks JSON-RPC over stdio per the MCP spec.
The server works without an API key — it falls back to local logic so you can try it instantly.
For higher-quality readings (real bazi computation from api.asktian.com's 70+ endpoints, daily fortune, compatibility scoring against the full system), get a free key at api.asktian.com and set ASKTIAN_API_KEY in your client config.
asktian_daily_readingPersonalized 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.
asktian_compatibilityFate 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".
asktian_best_time_for_actionThe 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".
asktian_today_energyGeneral 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.
asktian_name_analysisQuick 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.
asktian is opinionated. The MCP tools surface these constraints to your AI agent through the note_for_ai field on each response. Notable rules:
If your AI client surfaces a numeric score when should_show_score: false, it's violating the design contract.
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.
PRs welcome. The lib/ folder is intentionally self-contained for clean npm distribution.
MIT — use it anywhere, fork it, ship it inside your own product. The asktian protocol is meant to be public infrastructure.
不知道就问天.
FAQs
MCP server for asktian — Chinese metaphysics inside your AI assistant
We found that @asktian/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.