
AstroChalit MCP
Empower your AI assistants with real-time Vedic astrology. Calculate horoscopes, birth charts, and matchmaking natively in Claude, Cursor, and custom LLMs using the Model Context Protocol.
AstroChalit MCP
Native Astrology for AI Assistants
Turn your AI models into master astrologers instantly. By implementing the open-source Model Context Protocol, AstroChalit allows Claude, Cursor, and custom LLMs to securely calculate real-time birth charts, horoscopes, and matchmaking scores directly from our servers-zero code required.
What is MCP?
The Model Context Protocol (MCP) is an open standard introduced by Anthropic. It acts as a universal bridge between AI models (like Claude, GPT-4) and external data sources.
Instead of forcing developers to write custom API integrations for every single AI platform, MCP provides a unified way to expose tools. By using the AstroChalit MCP Server, any compatible AI assistant instantly understands how to securely query our astrology database, calculate planetary positions, and generate birth charts without any glue code.
"The universal adapter for AI assistants."
What are the Use Cases?
From personal astrology companions to enterprise dating apps, the possibilities are endless.
AI Astrologer Bots
Create autonomous chatbots that interview users, gather birth details, and provide interactive, real-time astrology readings.
Matchmaking Apps
Empower your dating algorithms with LLMs that automatically calculate Ashtakoot compatibility scores between profiles.
Content Generation
Automatically draft daily horoscopes, panchang summaries, and weekly transit reports for your blogs or social media channels.
Astrology Research
Use Claude Desktop to analyze massive amounts of birth chart data natively, generating insights across different planetary positions.
How Users Can Use MCP
Non-technical users can add AstroChalit to their favorite AI workspaces without writing a single line of code.
Claude Desktop
Add this configuration to your claude_desktop_config.json file, then restart Claude:
{
"mcpServers": {
"astrochalit": {
"command": "npx",
"args": ["-y", "astrochalit-mcp-server"],
"env": {
"ASTROCHALIT_API_KEY": "YOUR_KEY"
}
}
}
}Cursor IDE
Navigate to Cursor Settings > Features > MCP and click "+ Add New MCP Server":
Ensure ASTROCHALIT_API_KEY is exported in your environment.
How Developers Can Embed It
Are you building your own backend in Python, Java, Go, or Ruby? You don't need to be a JavaScript developer to use the MCP Server.
Python (LangChain & Official SDK)
In Python, you can easily pull in the MCP server using LangChain's official adapters. It automatically maps all 83 tools to Python functions that your LLM can use!
import os
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
# Connect directly to the local NPM binary via stdio
client = MultiServerMCPClient()
client.connect_to_server(
"astrochalit",
command="npx",
args=["-y", "astrochalit-mcp-server"],
env={"ASTROCHALIT_API_KEY": os.environ["ASTROCHALIT_API_KEY"]}
)
# Bind all astrology tools to your model
llm = ChatOpenAI(model="gpt-4o")
llm_with_tools = llm.bind_tools(client.get_tools())
response = llm_with_tools.invoke("Generate a birth chart for someone born in New York today.")
Java, C#, Go, and other Languages
Because the MCP Server communicates over standard input/output (stdio) using JSON-RPC, you can use it in any programming language by spawning it as a child process.
1 Spawn the Process
In Java (or any language), use your standard ProcessBuilder to run the command:
npx -y astrochalit-mcp-server
2 Communicate via JSON-RPC
Read and write standard JSON strings to the process stream to invoke tools securely.
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_horoscope"
}
}