Skip to main content
Glama
Human Design MCP Server

Human Design MCP Server

by artvitu
README.md
πŸ‡¬πŸ‡§ [English](README.md) | πŸ‡·πŸ‡Ί [Русский](README.ru.md)

# Human Design MCP Server

The first full-featured Human Design calculator for AI assistants.

Calculate rave charts, transits, and compatibility β€” directly from Claude, Cursor, Windsurf, or any MCP-compatible client.

## Features

| Feature | Status |
|---|---|
| Type, Profile, Authority, Strategy | βœ… |
| All 36 channels with circuit info | βœ… |
| All 64 gates with lines | βœ… |
| 9 centers (defined/open) | βœ… |
| Incarnation Cross (angle + name) | βœ… |
| Variables (4 arrows: Color/Tone/Base) | βœ… |
| Definition type (Single/Split/Triple/Quad) | βœ… |
| Transit overlay on natal chart | βœ… |
| Composite chart (compatibility) | βœ… |
| Electromagnetic/Dominance/Compromise channels | βœ… |
| Auto timezone by city (historical accuracy) | βœ… |
| Bilingual output (English + Russian) | βœ… |

## Quick Start

### Install

```bash
git clone https://github.com/artvitu/human-design-mcp.git
cd human-design-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e .
```

### Configure Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "human-design": {
      "command": "/absolute/path/to/human-design-mcp/.venv/bin/python",
      "args": ["-m", "server"]
    }
  }
}
```

### Configure Cursor / VS Code

Add to `.cursor/mcp.json` or equivalent:

```json
{
  "mcpServers": {
    "human-design": {
      "command": "/absolute/path/to/human-design-mcp/.venv/bin/python",
      "args": ["-m", "server"]
    }
  }
}
```

### Configure Antigravity (Gemini Code Assist)

Add to your MCP configuration:

```json
{
  "mcpServers": {
    "human-design": {
      "command": "/absolute/path/to/human-design-mcp/.venv/bin/python",
      "args": ["server.py"]
    }
  }
}
```

## Tools

### `calculate_chart`

Calculate a complete Human Design rave chart (bodygraph).

```python
calculate_chart(
    birth_year=1990,
    birth_month=3,
    birth_day=15,
    birth_hour=14,
    birth_minute=30,
    birth_place="Moscow"  # Auto-detects timezone!
)
```

**Returns:** type, profile, authority, strategy, signature, not-self theme, defined/open centers, active channels, gates with lines/color/tone/base, incarnation cross, variables (4 arrows), definition type.

### `get_transits`

Calculate current (or dated) transit positions. Optional natal chart overlay shows temporarily activated channels.

```python
get_transits(
    birth_year=1990, birth_month=3, birth_day=15,
    birth_hour=14, birth_minute=30, birth_place="Moscow"
)
```

### `compare_charts`

Composite chart and compatibility analysis between two people.

```python
compare_charts(
    person1_year=1990, person1_month=3, person1_day=15,
    person1_hour=14, person1_minute=30, person1_place="Moscow",
    person2_year=1992, person2_month=7, person2_day=22,
    person2_hour=9, person2_minute=0, person2_place="New York",
    person1_name="Alice", person2_name="Bob"
)
```

**Returns:** each person's type/profile/authority, electromagnetic channels (attraction), dominance channels, compromise channels, composite type, chemistry score.

## Timezone Handling

The server automatically detects **historically correct** timezones using the IANA timezone database.

This matters! For example:
- **Kirov, Russia** was UTC+4 before October 2014, then became UTC+3
- **Samara, Russia** was UTC+4, became UTC+3 in 2010, then returned to UTC+4 in 2014

Using `birth_place="ΠšΠΈΡ€ΠΎΠ²"` with a 1979 birth date correctly resolves to UTC+4.

You can also pass `utc_offset=4.0` explicitly if you know the correct offset.

## Architecture

Python port of [SharpAstrology.HumanDesign](https://github.com/CReizner/SharpAstrology.HumanDesign) (MIT) logic, using:

- **[pyswisseph](https://github.com/astrorigin/pyswisseph)** β€” Swiss Ephemeris bindings for precision astronomical calculations
- **[fastmcp](https://github.com/jlowin/fastmcp)** β€” MCP protocol implementation
- **[timezonefinder](https://github.com/jannikmi/timezonefinder)** β€” Offline timezone detection by coordinates

## Verification

Calculations verified against [humdes.com](https://humdes.com) β€” the leading Russian-language Human Design calculator.

## Running Tests

```bash
source .venv/bin/activate
python tests/test_chart.py
```

## License

MIT β€” use freely for any purpose, commercial or personal.

## Author

Built by Artem Ustyuzhanin ([@artvitu](https://github.com/artvitu)).