Detect & Refine MCP server
Behavioral tracking + Groq grading. Score every visitor click A+ → F, route the signal back to ad networks (Google, Meta, LinkedIn, TikTok, X), and optionally export graded rows to a Google Sheet. Closes the loop between ad spend and real conversion intent.. Hosted by 0n3: 3 endpoints your AI can call with your own Detect & Refine account, from Claude, ChatGPT, Cursor, Claude Code, Codex or Gemini CLI. One sign-in, one key per AI, a receipt for every call.
3 endpoints6 categoriesauth: supabase_service_rolehosted
What your AI can do with Detect & Refine
Track · Beacon ingestion — find-or-create dr_clicks row, upsert dr_sessions by uuid1
POST /api/trackGrade · Rule-based + Groq openai/gpt-oss-20b refinement, persists to dr_ai_scores1
POST /api/gradeLookup grade · Fetch latest grade for a session_id, click_id, or click_id_value0
Rollup · Counts by grade, network, and crm_pipeline (sale/nurture/dead/x)0
Export to sheet · Append graded rows to a Google Sheet via OAuth (composes with google_sheets)0
More · Everything else this app exposes.1
GET /api/statsInstall in three steps
- Create a free account at 0n3.app and connect Detect & Refine: paste a key or sign in through a door. It lands in your vault, encrypted.
- Open 0n3.app/install, pick your AI. A key is made for that AI alone; copy the line it gives you.
- Ask your AI: whoami. It answers with your connected services. Then ask it to track in Detect & Refine.
claude mcp add --transport http --scope user 0n3 https://0n3.app/mcp --header "Authorization: Bearer <your 0n token>"
Connect Detect & Refine to
Questions
What can an AI do with the Detect & Refine MCP server?
3 things: track, grade, lookup grade, rollup and more. Every call runs with your own Detect & Refine connection and lands on a receipt.
Do I need to run anything on my computer?
No. 0n3 is hosted. Connect Detect & Refine once, install 0n3 into your AI with one line, done.
Where does my Detect & Refine key go?
Into your 0n3 vault, encrypted, one record per connection. The AI never sees it.
