Start optimizing your LLM context in minutes. Choose your integration method below.
Paste your API key and project ID to auto-fill the configuration snippets below. Don't have one yet? Create a project & API key
# Add to your Claude Code hooks config (~/.claude/hooks.json)
{
"hooks": {
"PreToolUse": [{
"type": "http",
"url": "https://your-instance.contextstellar.com/api/v1/hooks/claude-code",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}],
"PostToolUse": [{
"type": "http",
"url": "https://your-instance.contextstellar.com/api/v1/hooks/claude-code",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}]
}
}Go to Settings and create a project to get your API key.
GoUse the config snippet above to connect Claude Code, the extension, or the SDK.
See real-time scores, traces, and RLM learning progress.
GoThe Chrome extension works with zero signup. Just install and start scoring prompts on any supported AI chat site.
All SDK and hooks endpoints use Bearer token auth with cs_live_ prefixed keys. Keys are hashed server-side.