Markdown Preprocessing for Claude
Feed Claude clean, well-structured Markdown with preserved code fences and tables—either over HTTPS REST or directly via the docopsapi-mcp server.
Why engineering teams use EdgeDocAPI
- Ready-to-use MCP server (docopsapi-mcp) for Claude Desktop and Cursor
- Dedicated /llms.txt integration guide for autonomous coding agents
- Strict XSS and script stripping before content reaches your agent prompt
Copy-Paste Integration (/v1/url-to-markdown)
curl -X POST https://api.docopsapi.com/v1/url-to-markdown \
-H "Authorization: Bearer edk_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/api-reference","include_links":true}'import requests
resp = requests.post(
"https://api.docopsapi.com/v1/url-to-markdown",
headers={"Authorization": "Bearer edk_live_YOUR_API_KEY"},
json={
"url": "https://example.com/api-reference",
"include_links": true
},
timeout=15,
)
resp.raise_for_status()
print(resp.json())const res = await fetch("https://api.docopsapi.com/v1/url-to-markdown", {
method: "POST",
headers: {
"Authorization": "Bearer edk_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"url": "https://example.com/api-reference",
"include_links": true
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);