MCP quickstart
Configure an MCP client to call THD API tools.
1. Get an API key
Create an account and generate an API key from the dashboard. Keys use the thd_abc123... format.
Your plan determines tool access. A plan with Chart access unlocks chart tools. SAGE access unlocks query_sage. Calling a restricted tool returns a "your plan does not include the … API" error. Other tools continue to function. See billing.
2. Configure your MCP client
Claude Desktop
Add this to the Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\\Claude\\claude_desktop_config.json
Cursor
Place this in .cursor/mcp.json at the project root or in the global Cursor config.
TypeScript SDK
3. Test with generate_chart
In Claude Desktop or Cursor, test the connection by asking:
"Generate a Human Design chart for someone born May 15, 1990 at 2:30 PM in New York"
The agent calls generate_chart and returns the chart data.
If using the SDK, the code above includes a callTool example. The response contains chart data as a JSON string inside result.content[0].text.
4. Practical workflow
Combine tools and resources. Ask the agent:
"Generate a Human Design chart for May 15, 1990 at 14:30 in New York, then explain the results using Human Design terminology"
Behind the scenes, the agent:
- Calls
generate_chartfor the raw chart data. - Reads
thd://reference/terminologyfor Human Design definitions. - Generates an explanation using both.
MCP clients cache resources per session. The terminology and chart-fields references fetch once and are reused across tool calls.
Next steps
- Tools reference — Full input schemas and examples for all 14 tools
- Resources reference — Reference data available to the agent
- MCP overview — Architecture and when to use MCP vs REST