vedic-birth-chart
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vedic-birth-chartget D1 chart for 10 Feb 1991, 21:35, 28.027, 73.302, UTC+5:30"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vedic Birth Chart MCP Server
An MCP (Model Context Protocol) tool that AI agents can call to fetch a Vedic D1 (Rasi)
birth chart from a date of birth, time of birth, and birthplace coordinates, via
FreeAstrologyAPI's /planets endpoint.
What it does
The tool get_d1_birth_chart takes year, month, day, hour, minute, second, latitude, longitude, timezone (plus optional observationPoint and ayanamsha), calls
POST https://json.freeastrologyapi.com/planets with the matching payload, and returns the
API's D1 chart response (planetary positions) as-is.
Field mapping to the API (handled internally, so the agent only needs the friendly names):
Tool input | API field |
|
|
|
|
|
|
|
|
|
|
|
|
year, month, latitude, longitude, timezone are passed straight through.
Setup
Requires Node.js 18+.
cd vedic-birth-chart-mcp
npm install
npm run buildAPI key
Set your FreeAstrologyAPI key in a .env file at the project root (already gitignored):
FREEASTROLOGY_API_KEY=your-api-key-hereA .env with the key you provided is already in place. .env.example shows the expected
format. You can also set FREEASTROLOGY_API_KEY as a real environment variable instead (e.g.
in your MCP client's server config), which takes precedence over .env.
Try it standalone (no MCP client needed)
npm run testThis calls the live API with the same example as FreeAstrologyAPI's own /planets docs
(10 Feb 1991, 21:35, Bikaner) and prints the raw JSON response.
Add it to an MCP-compatible agent
Claude Desktop / Claude Code — add to your MCP config (e.g. claude_desktop_config.json
or .mcp.json):
{
"mcpServers": {
"vedic-birth-chart": {
"command": "node",
"args": ["/absolute/path/to/vedic-birth-chart-mcp/dist/server.js"],
"env": {
"FREEASTROLOGY_API_KEY": "your-api-key-here"
}
}
}
}Restart the client. The agent will then see a tool named get_d1_birth_chart it can call
directly — e.g. "What's the D1 chart for someone born 10 Feb 1991, 21:35, at 28.027, 73.302,
UTC+5:30?"
Project structure
src/
config.ts Loads FREEASTROLOGY_API_KEY via dotenv (from .env or real env var)
freeAstrologyApi.ts Calls FreeAstrologyAPI's /planets endpoint, maps friendly field names
server.ts MCP server exposing get_d1_birth_chart
test.ts Standalone example run against the live APINotes
Verified in this environment: the request payload sent to the API was checked against a local mock server and exactly matches the field names/shape from FreeAstrologyAPI's own curl example (
date/hours/minutes/seconds, nestedconfig.observation_point/config.ayanamsha). The build compiles cleanly against the real@modelcontextprotocol/sdktypes. The live API call itself could not be exercised end-to-end here because this sandbox has no outbound network access — runnpm run teston your own machine to confirm the live response shape.The tool currently passes through FreeAstrologyAPI's response unmodified rather than reshaping it, since the exact response schema wasn't verifiable without live network access. If you'd like it parsed into a friendlier structure (e.g. named sign/house per planet), run
npm run testonce, share the output, and that mapping can be added.API usage is subject to FreeAstrologyAPI's own rate limits/quota on your key.
.envloading uses thedotenvnpm package. That means you need to runnpm installagain to pull it in before building — this sandbox has no npm registry access, so the new dependency couldn't be installed or type-checked here.npx tsc --noEmiton your machine will confirm it compiles.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mukeshsoni151/mcp-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server