com um clique
curl-md
// Fetch web pages and docs as optimized markdown with curl.md. Use when the user shares a URL, asks about page content, or you need to read web page or webfetch.
// Fetch web pages and docs as optimized markdown with curl.md. Use when the user shares a URL, asks about page content, or you need to read web page or webfetch.
| name | curl-md |
| description | Fetch web pages and docs as optimized markdown with curl.md. Use when the user shares a URL, asks about page content, or you need to read web page or webfetch. |
Use curl.md to turn URLs into agent-friendly markdown with less noise and fewer tokens.
Use curl.md when:
Prefer these in order:
curl.md CLI or md alias when availablehttps://curl.md/<url>.md docs endpoints or Accept: text/markdownFor normal page fetches, prefer the stable top-level fetch interface (curl.md/<url> or client.fetch(...)). Avoid lower-level experimental /api routes unless the task is specifically about auth, orgs, tokens, invites, or request history.
Prefer these names in new usage:
objective — narrow output to a specific question or taskkeywords — pre-filter the page before extraction; comma-separated in HTTP/CLI stringsmode — smart or rush; only matters with objectivefresh — bypass cache and force a fresh fetchtoken — API key auth in the CLI; raw HTTP should prefer Authorization: Bearer <token>smart is the default and best for most docs lookups. Use rush when speed matters more than recall.
HTTP aliases still work (q/o, k, m, f), but prefer the full names above in new examples and instructions.
Prefer the CLI when it is installed locally. It handles auth, organization context, higher-level commands, and agent-friendly workflows.
# Basic fetch
curl.md example.com
md example.com
# Narrow to a specific task
curl.md docs.github.com/en/webhooks/webhook-events-and-payloads \
--objective "pull request webhook event payload and actions" \
--keywords pull_request
# Faster, less thorough pass
curl.md developers.cloudflare.com/d1/get-started \
--objective "how to query D1 from a worker" \
--keywords D1,bindings \
--mode rush
# Force a fresh fetch
curl.md example.com --fresh
# Use API key auth
curl.md example.com --token "$CURLMD_API_KEY"
Notes:
http:// or https://.curl.md fetch <url> is equivalent to the root curl.md <url> command.--fresh.Use the hosted HTTP endpoint when the CLI is unavailable or when you just need to quickly fetch one page.
# Default response is markdown
curl "https://curl.md/example.com"
# Narrow with stable query names
curl "https://curl.md/developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch?objective=streaming+response+body&keywords=ReadableStream,getReader"
# Force a fresh fetch
curl "https://curl.md/example.com?fresh"
# Request JSON instead of markdown
curl "https://curl.md/example.com" -H 'Accept: application/json'
# Authenticated request
curl "https://curl.md/example.com" -H "Authorization: Bearer $CURLMD_API_KEY"
Successful fetches return markdown by default. JSON responses have the shape:
{
"content": "# Example\n..."
}
When the user asks to install or wire curl.md into an agent/editor, use the current setup commands:
# Install hosted skills
npx skills add https://curl.md --yes
# Sync CLI-generated skills into supported agents
curl.md skills add
curl.md skills add --no-global
# Run as MCP stdio server
curl.md --mcp
# Register the MCP server with an agent
curl.md mcp add
curl.md mcp add --agent claude-code
Prefer first-party plugins over raw CLI or MCP when the target agent has an official curl.md integration.
objective when only part of a long page matters.keywords when you already know the terms that matter and want to shrink the search space first.fresh for changelogs, status pages, release notes, or any request where freshness matters..md docs pages or llms.txt over HTML fetches.code and human-readable message fields.