Terminal-native access

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.

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

One-click install

Claude has no one-click MCP install and no deep link to its connector settings, so the Claude button opens claude.ai — go to Customize → Connectors, click “+ Add custom connector”, and paste the endpoint. Codex has no URL scheme either: copy the command and run it in your terminal. 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.

Connect your client

Claude Code · terminal
claude mcp add --transport http looprepo https://mcp.looprepo.dev/mcp

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):

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

Run the command, or add it to ~/.codex/config.toml directly — the same config drives the Codex IDE extension:

Codex CLI · terminal
codex mcp add looprepo --url https://mcp.looprepo.dev/mcp
~/.codex/config.toml
[mcp_servers.looprepo]
url = "https://mcp.looprepo.dev/mcp"

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

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "looprepo": { "serverUrl": "https://mcp.looprepo.dev/mcp" }
  }
}

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

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

Tool catalog

22 tools · 4 groups

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).

Discovery

9
  • loops_searchsearch the catalog by text, category, loop type, safety grade, or provenance
    free
  • loops_getfetch one loop’s full prompt, notes, attribution, and stats by slug
    free
  • loops_categorieslist categories and loop types with live published counts
    free
  • loops_trendingnewsurface loops gaining copies and upvotes right now
    free
  • loops_similarnewfind loops close to a given slug by category, type, and tags
    free
  • loops_for_stacknewmatch loops to a described stack — framework, tools, agents
    free
  • loops_comparenewput two or more loops side by side on safety, scope, and cost
    free
  • loops_statsnewdirectory totals — counts by grade, category, and loop type
    free
  • loops_of_the_weeknewthe current Loop of the Week — top-voted, refreshed weekly
    free

Grading & safety

4
  • loops_gradegrade any loop prompt A–F with the deterministic, default-fail Safety Score
    free
  • loops_hardennewrewrite a loop to add missing exit conditions, budgets, and gates
    LLM · capped
  • loops_grade_explainnewplain-language breakdown of why a loop earned its grade
    LLM · capped
  • harness_validatenewcheck a harness bundle for the required safety scaffolding
    free

Build & intake

5
  • loops_generate_harnessgenerate a complete safe-loop harness bundle for a goal
    LLM · capped
  • loops_intake_recommendturn a read-only Claude-use report into ranked real loop matches plus a builder prefill
    free
  • loops_craftnewdraft and grade a net-new loop from a described workflow — returned to you, nothing is staged until you submit it
    LLM · capped
  • intake_prompt_getnewreturn the read-only Claude-use intake prompt to paste into an agent
    free
  • loops_submitnewcontribute a loop — previews the redacted text, stores only after you confirm, same gate as the directory, owner review before listing
    free

Account

4
  • cme_tier_statusnewshow separate Looprepo rolling allowances and CME plan entitlements; the optional verified account email adds its build counter
    free
  • beacon_run_reportnewreport a loop run (status, turns, cost) to looprepo
    free
  • articles_searchnewsearch looprepo’s published loop-engineering articles
    free
  • articles_getnewfetch one article’s full text by slug
    free

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

Access & rate limits

No auth
No API key, no signup
60/min
Requests per IP
192KB
Maximum request body
10/day
Harness builds per IP
  • No auth, no API key, no signup — all read tools are open.
  • 60 requests/min per IP across the API (429 + Retry-After when exceeded).
  • Request bodies capped at 192KB (413 above that) — the ceiling on a harness_validate bundle.
  • generate_harness additionally: 10 builds/day per IP and 30/day per email — both apply.

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.

Higher limits with ConnectMyEmail

per day
TierCrafted loopsHarness builds
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 →