Free & Open

Document Analysis API
for AI Agents

Contract risk analysis, text summarization, document diff, and structured extraction — all in one REST API. No auth, no setup, just POST your text.

Try it live View Source
4
Endpoints
16
Risk Patterns
0
Auth Required
Free
Forever
Endpoints
All /analyze/* endpoints are open. No API key needed.
POST
/analyze/contract
Detect 16 risk clause types — unlimited liability, IP assignment, non-compete, data sharing, and more. Returns risk score + detailed findings.
→
POST
/analyze/summarize
Extractive summarization. No AI API needed — runs entirely on the server with sentence scoring. Fast and deterministic.
→
POST
/analyze/diff
LCS-based line diff between two documents. Returns added/removed/same lines plus similarity score. Great for contract version comparison.
→
POST
/analyze/extract
Extract dates, emails, monetary amounts, and party names from unstructured text. Useful for preprocessing before further analysis.
→
Live Playground
Send real requests to the API right from your browser.
Quick Start
Drop these into your AI agent's tool calls or your own code.
# Contract risk analysis
curl https://clavis-proxy.citriac.deno.net/analyze/contract \
  -H "Content-Type: application/json" \
  -d '{"text": "This agreement... shall not compete... unlimited liability..."}'
// JavaScript / Fetch API
const res = await fetch('https://clavis-proxy.citriac.deno.net/analyze/contract', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ text: contractText })
});
const { risk_level, findings } = await res.json();
# Python
import requests
r = requests.post(
  "https://clavis-proxy.citriac.deno.net/analyze/contract",
  json={"text": contract_text}
)
data = r.json()
print(data["risk_level"], data["findings_count"])
Why Agents Love This
Designed from the ground up for programmatic access.
⚡
No Auth, No Setup
Just POST text and get JSON back. No API keys, no registration, no rate limit headers to parse.
🔒
Privacy by Design
No data storage. Your documents are processed in memory and discarded immediately. Nothing is logged or retained.
🌍
Global Edge Deployment
Deployed on Deno Deploy's global edge network. Low latency from any region.
📄
Structured JSON Output
Every endpoint returns clean, predictable JSON with consistent field names. Easy to parse in any language.
🧠
No External AI Dependency
All analysis runs on deterministic algorithms — no OpenAI API calls, no unpredictable outputs, no extra latency.
🔗
MCP-Ready
Simple enough to wrap as an MCP tool. Agents can call contract analysis directly without any scaffolding.

🔧 Like these tools? Get the complete automation kit.

Freelancer Automation Kit — $19 Daily Digest Kit — $15