Connect Claude Code

Add AI Coach as an MCP server in Claude Code. Read-only tools work without an API key.

1. Open your MCP config

User-wide: ~/.claude/mcp.json. Per-project: .claude/mcp.json in your repo root.

2. Add this block

{
  "mcpServers": {
    "aicoach": {
      "url": "https://aicoach.pw/api/mcp/v1",
      "transport": "http"
    }
  }
}

3. Restart Claude Code

Open a new session. Type /mcp to confirm aicoach is listed with its tools.

4. Try it

Ask:

"Use AI Coach to find a skill for code review and show me the install command for Claude Code."

Claude will call search_skills then install_skill with client="claude-code".

Optional: API key for paid tools (later)

v1 is read-only. When paid tools land, add an Authorization header to the same block:

{
  "mcpServers": {
    "aicoach": {
      "url": "https://aicoach.pw/api/mcp/v1",
      "transport": "http",
      "headers": { "Authorization": "Bearer mcp_YOUR_KEY" }
    }
  }
}

Issue a key on /account/api-keys with scopes mcp:read + mcp:tools and a daily cap that won't bankrupt you if Claude goes wild.