Complete professional astrology MCP server with 45 tools covering all 55 backend endpoints
- Complete Astrology Coverage: 45+ tools covering all major astrology systems
- Production Ready: 100% success rate with robust error handling
- Universal Data Formats: Standardized input/output for all tools
- Professional Quality: Built for Claude Desktop and MCP protocol
- Real-time API: Direct integration with AstroVisor backend API
npm install astrovisor-mcpAdd to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"astrovisor": {
"command": "npx",
"args": ["astrovisor-mcp"],
"env": {
"ASTROVISOR_API_KEY": "your-api-key-here",
"ASTROVISOR_URL": "https://astrovisor.io"
}
}
}
}- Visit AstroVisor.io
- Register for a free account
- Generate your API key in the dashboard
- Add it to your Claude Desktop config
calculate_natal_chart- Generate complete natal chartanalyze_natal_aspects- Analyze planetary aspectsanalyze_natal_houses- House analysis and meaningsanalyze_natal_planets- Planetary positions and interpretationsanalyze_natal_transits- Current transits to natal chartanalyze_natal_progressions- Secondary progressionsget_natal_info- Module information
calculate_bazi_chart- Four Pillars calculationanalyze_bazi_compatibility- Relationship compatibilityanalyze_bazi_life_focus- Life priorities analysiscalculate_bazi_luck_pillars- Fortune cyclescalculate_bazi_annual_forecast- Yearly predictionsget_bazi_complete_analysis- Comprehensive analysisget_bazi_career_guidance- Career recommendationsget_bazi_relationship_guidance- Relationship insightsget_bazi_health_insights- Health and wellness guidanceanalyze_bazi_nayin- Na Yin sound analysisanalyze_bazi_useful_god- Useful God identificationanalyze_bazi_personality- Personality traitsanalyze_bazi_twelve_palaces- Twelve Palaces analysisanalyze_bazi_symbolic_stars- Symbolic stars interpretationget_bazi_info- Module information
calculate_current_transits- Current planetary transitscalculate_transits_period- Transits in date rangeget_transits_info- Transit module informationcalculate_solar_return- Solar return chartcalculate_lunar_return- Lunar return analysiscalculate_secondary_progressions- Secondary progressionscalculate_solar_arc_progressions- Solar arc directionscalculate_primary_directions- Primary directions
analyze_synastry- Partner compatibility analysiscalculate_composite_chart- Composite relationship chart
Horary Astrology:
analyze_horary_question- Question-based divinationanalyze_horary_judgment- Horary judgment analysisget_horary_question_analysis- Complete horary reading
Electional Astrology:
find_best_times- Optimal timing for events
Numerology:
calculate_numerology- Complete numerological analysiscalculate_life_path_number- Life path calculationcalculate_destiny_number- Destiny number analysis
Matrix of Destiny:
calculate_matrix_of_destiny- Matrix calculationcalculate_matrix_chart- Matrix chart visualization
Human Design:
calculate_human_design_chart- Human Design analysisanalyze_human_design- Complete Human Design reading
Jyotish (Vedic) Astrology:
calculate_jyotish_chart- Vedic chart calculationcalculate_jyotish_main- Main Jyotish analysiscalculate_jyotish_dashas- Dasha periodscalculate_jyotish_yogas- Yoga combinationsget_jyotish_info- Module information
Astrocartography:
find_best_places- Location recommendationsanalyze_astrocartography- Relocation astrology
Most tools use this standard format:
{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
}For relationship analysis:
{
"partner1": {
"name": "Person A",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
},
"partner2": {
"name": "Person B",
"datetime": "1992-08-22T09:15:00",
"latitude": 34.0522,
"longitude": -118.2437,
"location": "Los Angeles, USA",
"timezone": "America/Los_Angeles"
}
}For transit calculations:
{
"name": "John Smith",
"birth_datetime": "1990-05-15T14:30:00",
"birth_latitude": 40.7128,
"birth_longitude": -74.0060,
"birth_location": "New York, USA",
"birth_timezone": "America/New_York",
"target_date": "2024-08-21"
}For progressions, directions, returns:
{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York",
"target_date": "2024-08-21", // for directions
"progression_date": "2024-08-21", // for progressions
"return_year": 2024, // for solar return
"return_date": "2024-08-21" // for lunar return
}For horary astrology:
{
"question": "Should I change my job?",
"question_time": "2024-08-21T15:30:00",
"location": {
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
}
}For finding optimal times:
{
"birth_data": {
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
},
"purpose": "wedding",
"start_date": "2024-09-01T00:00:00",
"end_date": "2024-12-31T23:59:59",
"location": {
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
}
}For location analysis:
{
"birth_data": {
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
}
}Ask Claude: "Generate a natal chart for someone born May 15, 1990 at 2:30 PM in New York"
Ask Claude: "Analyze compatibility between two people - first born May 15, 1990 in New York, second born August 22, 1992 in Los Angeles"
Ask Claude: "What are the current transits for someone born May 15, 1990 in New York?"
Ask Claude: "Create a BaZi chart and personality analysis for someone born May 15, 1990 at 2:30 PM in New York"
Ask Claude: "Find the best places to live for someone born May 15, 1990 in New York"
ASTROVISOR_API_KEY- Your AstroVisor API key (required)ASTROVISOR_URL- API endpoint (default: https://astrovisor.io)
- Free Tier: 50 requests/day, 1,500/month
- Premium Tier: 10,000 requests/day, 250,000/month
The MCP server includes comprehensive error handling:
- Invalid coordinates validation
- Date format validation
- API rate limit handling
- Network timeout management
- Graceful degradation
The package includes comprehensive testing with 100% success rate across all 45 tools.
All 45 MCP tools map directly to backend API endpoints:
calculate_natal_chart→POST /api/natal/chartanalyze_natal_aspects→POST /api/natal/aspectsanalyze_natal_houses→POST /api/natal/housesanalyze_natal_planets→POST /api/natal/planetsanalyze_natal_transits→POST /api/natal/transitsanalyze_natal_progressions→POST /api/natal/progressionsget_natal_info→GET /api/natal/info
calculate_bazi_chart→POST /api/bazi/chartanalyze_bazi_compatibility→POST /api/bazi/compatibilityanalyze_bazi_life_focus→POST /api/bazi/life-focuscalculate_bazi_luck_pillars→POST /api/bazi/luck-pillarscalculate_bazi_annual_forecast→POST /api/bazi/annual-forecastget_bazi_complete_analysis→POST /api/bazi/complete-analysisget_bazi_career_guidance→POST /api/bazi/career-guidanceget_bazi_relationship_guidance→POST /api/bazi/relationship-guidanceget_bazi_health_insights→POST /api/bazi/health-insightsanalyze_bazi_nayin→POST /api/bazi/nayin-analysisanalyze_bazi_useful_god→POST /api/bazi/useful-godanalyze_bazi_personality→POST /api/bazi/personalityanalyze_bazi_twelve_palaces→POST /api/bazi/twelve-palacesanalyze_bazi_symbolic_stars→POST /api/bazi/symbolic-starsget_bazi_info→GET /api/bazi/info
calculate_current_transits→POST /api/transits/calculatecalculate_transits_period→POST /api/transits/periodget_transits_info→GET /api/transits/infocalculate_solar_return→POST /api/solar/returncalculate_lunar_return→POST /api/solar/lunar-returncalculate_secondary_progressions→POST /api/progressions/secondarycalculate_solar_arc_progressions→POST /api/progressions/solar-arccalculate_primary_directions→POST /api/directions/primary
analyze_synastry→POST /api/relationship/synastrycalculate_composite_chart→POST /api/relationship/composite
analyze_horary_question→POST /api/horary/analyze-questionanalyze_horary_judgment→POST /api/horary/judgmentget_horary_question_analysis→POST /api/horary/question
find_best_times→POST /api/electional/find-best-times
calculate_numerology→POST /api/numerology/calculatecalculate_life_path_number→POST /api/numerology/life-pathcalculate_destiny_number→POST /api/numerology/destiny-number
calculate_matrix_of_destiny→POST /api/matrix/calculatecalculate_matrix_chart→POST /api/matrix/chart
calculate_human_design_chart→POST /api/human_design/chartanalyze_human_design→POST /api/human_design/analysis
calculate_jyotish_chart→POST /api/jyotish/chartcalculate_jyotish_main→POST /api/jyotish/calculatecalculate_jyotish_dashas→POST /api/jyotish/dashascalculate_jyotish_yogas→POST /api/jyotish/yogasget_jyotish_info→GET /api/jyotish/info
find_best_places→POST /api/astrocartography/best-placesanalyze_astrocartography→POST /api/astrocartography/analysis
{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York",
"start_date": "2024-01-01",
"end_date": "2024-12-31"
}{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York",
"return_year": 2024
}{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York",
"return_date": "2024-08-21"
}{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York",
"progression_date": "2024-08-21"
}{
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York",
"target_date": "2024-08-21"
}{
"question": "Should I change my job?",
"question_time": "2024-08-21T15:30:00",
"location": {
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
},
"querent_name": "John Smith",
"question_category": "career"
}{
"name": "John Smith",
"birth_datetime": "1990-05-15T14:30:00",
"birth_latitude": 40.7128,
"birth_longitude": -74.0060,
"birth_location": "New York, USA",
"birth_timezone": "America/New_York",
"target_date": "2024-08-21",
"orb_factor": 1.0,
"min_significance": 0.5,
"include_minor_aspects": true
}{
"name": "John Smith",
"birth_datetime": "1990-05-15T14:30:00",
"birth_latitude": 40.7128,
"birth_longitude": -74.0060,
"birth_location": "New York, USA",
"birth_timezone": "America/New_York",
"start_date": "2024-01-01",
"end_date": "2024-12-31",
"min_significance": 0.5,
"max_days": 365
}{
"birth_data": {
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
},
"purpose": "wedding",
"start_date": "2024-09-01T00:00:00",
"end_date": "2024-12-31T23:59:59",
"location": {
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
},
"preferred_planets": ["Venus", "Jupiter"],
"avoid_planets": ["Mars", "Saturn"],
"moon_phase": "waxing",
"day_of_week": "Friday"
}{
"birth_data": {
"name": "John Smith",
"datetime": "1990-05-15T14:30:00",
"latitude": 40.7128,
"longitude": -74.0060,
"location": "New York, USA",
"timezone": "America/New_York"
}
}All endpoints use Bearer token authentication:
Authorization: Bearer your-api-key-here
Complete API documentation is available at AstroVisor API Docs
- GitHub Issues: Report bugs
- Email: [email protected]
- Website: astrovisor.io
MIT © Emil Rokossovskiy
- ✅ 100% success rate across all tools
- ✅ Complete endpoint coverage (55 endpoints)
- ✅ Universal data format standardization
- ✅ Robust error handling
- ✅ Comprehensive documentation
- 45 Professional Tools - Complete astrology toolkit
- 14 Astrology Systems - From Western to Chinese to Vedic
- Universal Data Formats - Standardized for easy use
- Production Quality - Battle-tested and reliable
- Claude Desktop Ready - Perfect integration
🌟 Transform your astrological practice with professional-grade calculations and analysis. Get started today!