# Casefold

Casefold organizes custody documents for court. Upload filings, declarations, and court orders — AI surfaces claims by party and category, classifies files, and links exhibits to relevant claims. Par…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add casefold/case-data

# Browse available tools
npx -y @smithery/cli@latest tool list casefold/case-data

# Get full schema for a tool
npx -y @smithery/cli@latest tool get casefold/case-data list_cases

# Call a tool
npx -y @smithery/cli@latest tool call casefold/case-data list_cases '{}'
```

## Direct MCP Connection

Endpoint: `https://case-data--casefold.run.tools`

**Required config:**
- `api_key` (header) — Your Casefold API key. Generate one at casefold.app/settings

## Tools (7)

- `list_cases` — List all cases the authenticated user can access.
- `get_case_summary` — Get an aggregate summary of a case: claim counts by party, file counts by classification, timeline events, starred clai…
- `list_claims` — List claims (findings) for a case. Optionally filter by party, category, or starred status. Hidden claims are excluded.
- `get_claim` — Get full detail for a single claim, including passages, linked exhibits, and notes.
- `list_files` — List uploaded files for a case. Optionally filter by classification (document or exhibit).
- `list_timeline` — List timeline events for a case, ordered chronologically.
- `list_starred_claims` — List starred (bookmarked) claims for a case. Convenience shortcut for list_claims with starred_only=true.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get casefold/case-data <tool-name>
```
