MCP server

MCP (Model Context Protocol) is the open standard that lets AI agents and editors call external tools. Connect this server and your agent can search looprepo's vetted loop catalog, grade any loop prompt A–F, and generate safe-loop harnesses — no auth, no API key, rate limit 60 req/min per IP.

One-click install

Endpoint: https://mcp.looprepo.dev/mcp

Add to Claude →Add to Cursor →Add to VS Code →VS Code Insiders →

The Claude button opens Claude Desktop directly if it’s installed, otherwise claude.ai in your browser — either way, go to Customize → Connectors and click “+ Add custom connector” to paste the endpoint above (Claude has no one-click MCP install). Cursor opens the app if it’s installed, otherwise Cursor's install page; the VS Code buttons go through vscode.dev’s install redirect. Everything else below is copy-paste.

Claude Code

claude mcp add --transport http looprepo https://mcp.looprepo.dev/mcp

Claude Desktop

Customize → Connectors → “+ Add custom connector” with the endpoint URL above — or add this to claude_desktop_config.json (uses the mcp-remote bridge; needs Node installed):

{ "mcpServers": { "looprepo": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.looprepo.dev/mcp"] } } }

Codex CLI

codex mcp add looprepo --url https://mcp.looprepo.dev/mcp

Or add it to ~/.codex/config.toml directly — the same config drives the Codex IDE extension:

[mcp_servers.looprepo] url = "https://mcp.looprepo.dev/mcp"

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{ "mcpServers": { "looprepo": { "serverUrl": "https://mcp.looprepo.dev/mcp" } } }

Any other MCP client

Generic Streamable HTTP config (Cline, Zed, custom SDK clients, …):

{ "mcpServers": { "looprepo": { "type": "http", "url": "https://mcp.looprepo.dev/mcp" } } }

Tool catalog

22 tools across four groups. Read tools are free; the two LLM-backed cost centers — crafting loops and building harnesses — are daily-capped (see limits below).

ToolWhat it doesCost
Discovery
loops_searchsearch the catalog by text, category, loop type, safety grade, or provenancefree
loops_getfetch one loop’s full prompt, notes, attribution, and stats by slugfree
loops_categorieslist categories and loop types with live published countsfree
loops_trendingnewsurface loops gaining copies and upvotes right nowfree
loops_similarnewfind loops close to a given slug by category, type, and tagsfree
loops_for_stacknewmatch loops to a described stack — framework, tools, agentsfree
loops_comparenewput two or more loops side by side on safety, scope, and costfree
loops_statsnewdirectory totals — counts by grade, category, and loop typefree
loops_of_the_weeknewthe current Loop of the Week — top-voted, refreshed weeklyfree
Grading & safety
loops_gradegrade any loop prompt A–F with the deterministic, default-fail Safety Scorefree
loops_hardennewrewrite a loop to add missing exit conditions, budgets, and gatesLLM · capped
loops_grade_explainnewplain-language breakdown of why a loop earned its gradeLLM · capped
harness_validatenewcheck a harness bundle for the required safety scaffoldingfree
Build & intake
loops_generate_harnessgenerate a complete safe-loop harness bundle for a goalLLM · capped
loops_intake_recommendturn a read-only Claude-use report into ranked real loop matches plus a builder prefillfree
loops_craftnewdraft a net-new candidate loop from a described workflow, staged through the same gateLLM · capped
intake_prompt_getnewreturn the read-only Claude-use intake prompt to paste into an agentfree
loops_submitnewsubmit a loop to the review queue — text only, sanitized, gatedfree
Account
cme_tier_statusnewshow separate Looprepo rolling allowances and CME plan entitlements; the optional verified account email adds its build counterfree
beacon_run_reportnewreport a loop run to Mission Control telemetryfree
articles_searchnewsearch looprepo’s published loop-engineering articlesfree
articles_getnewfetch one article’s full text by slugfree

Not sure what to automate? Start with Claude intake to collect a read-only evidence report before choosing a loop.

Access & rate limits

Daily limits

Only the two LLM cost centers are metered — crafting loops and building harnesses. Read tools have no per-day cap.

Call cme_tier_status with an optional CME API key and matching verified CME account email to see remaining network, hourly, and email allowances separately from CME account-plan entitlements.

TierCrafted loops / dayHarness builds / day
Anonymous2010
CME Pro10030
CME Power300100

Higher limits for ConnectMyEmail members →

Troubleshooting

405 Method Not Allowed. You hit an old deploy or sent a GET. The transport is POST-only JSON-RPC at mcp.looprepo.dev/mcp. If a client saw 405s before 2026-07-06, retry — the fix is deployed.

403 from Cloudflare. Cloudflare Bot Fight Mode used to block Python-based MCP clients by user-agent. That is resolved. If you still see a 403 with a cf-ray header, tell us — it never reached the server.

“It returns HTML”. looprepo.dev/mcp (this page) is documentation. The MCP endpoint your client connects to is https://mcp.looprepo.dev/mcp — a JSON-RPC transport, not a web page.

Endpoints

https://mcp.looprepo.dev/mcp

MCP transport (Streamable HTTP, JSON-RPC 2.0) — POST only

https://mcp.looprepo.dev/health

health check

Prefer plain HTTP? The catalog is also directly fetchable — see the agents page for catalog.json, catalog.txt and llms.txt. Want to check a loop before running it? Grade it →