CPC Platform / Docs
Quickstart
Every tool is available two ways: the MCP server for AI assistants, and a REST endpoint for everything else. Both run the same code and share your key's limits.
1. Get a key
Request a free sandbox key on the Platform page. Keys start with cpc_live_ and are shown once. Keep them server-side.
2. Connect over MCP
Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and other MCP clients:
{
"mcpServers": {
"coparent-circle": { "url": "https://thecoparentcircle.com/mcp" }
}
}OpenAI Agents SDK / Responses API:
tools=[{ "type": "mcp", "server_label": "coparent-circle",
"server_url": "https://thecoparentcircle.com/mcp", "require_approval": "never" }]Keyed tools take your key as the partner_key argument; have your harness inject it rather than exposing it to end users.
3. Or call REST
curl -X POST https://thecoparentcircle.com/api/public/v1/net_child_expenses \
-H "Authorization: Bearer cpc_live_..." -H "Content-Type: application/json" \
-d '{"currency":"USD","expenses":[{"paid_by":"A","amount_cents":20000,"share_a_percent":50}]}'The full machine-readable spec is at /api/public/v1/openapi.json. Over REST every tool needs a key, and every call counts toward your limits.
Status codes: 400 invalid input · 401 missing or invalid key · 429 daily, monthly or AI limit reached · 503 usage check unavailable (nothing was run).
Tools
calculate_parenting_time
Partner key required on MCP and REST
Input
{ "pattern": ["A","A","B","B","A","A","A","B","B","A","A","B","B","B"], "state_code": "FL" }Output (abridged)
{ "overnights": { "A": 183, "B": 182 }, "threshold": { "state": "FL", "citation": "Fla. Stat. § 61.30(11)(b)", "met": true } , ... }verify_court_report
Partner key required on MCP and REST
Input
{ "sha256": "<64 hex characters from the report footer>" }Output (abridged)
{ "match": false, "message": "No CPC report matches this fingerprint." }net_child_expenses
Partner key required on MCP and REST
Input
{ "currency": "USD", "expenses": [{ "paid_by": "A", "amount_cents": 20000, "share_a_percent": 50 }], "payments": [] }Output (abridged)
{ "currency": "USD", "owed_by": "B", "amount_cents": 10000, "notice": "Arithmetic from the amounts provided..." }screen_communication_tone
Partner key required on MCP and REST
Input
{ "text": "You never pick her up on time.", "language": "en" }Output (abridged)
{ "tone": "tense", "rewrites": [{ "style": "biff", "text": "..." }], "original_text": "You never pick her up on time.", "ai_used": true }Results are arithmetic, seal checks and advisory suggestions — never legal advice.