Parse on your own device
The parser behind the API is deterministic TypeScript — no model reads your statement — so it can run wherever JavaScript runs. When the statement never needs to leave the machine, it doesn’t have to.
| Browser terminal | portfolio-intel CLI | REST API / MCP | |
|---|---|---|---|
| Where the PDF goes | Stays in the tab | Stays on disk | Uploaded to our servers (India) |
| Account or key | None | None | API key |
| Good for | Trying it on your own CAS | Scripts, pipelines, advisors with many files | Products, agents, back ends |
| Output | Screen, /export JSON | Screen, --json on stdout | JSON with snapshot_id, enrichment, reports |
| Enrichment (live NAV, benchmarks) | No | No | Yes |
Both local options share one command set (/holdings, /allocation,
/verify, /export…), mask investor names and folio numbers before anything
is printed, and never make a network request to parse.
In the browser
Section titled “In the browser”Open portfoliointel.co.in and
scroll to See It In Action. It runs /demo on a bundled sample; then drop
your own CAS PDF onto the terminal, or type /parse to pick one. The PDF is
read with FileReader into the tab and parsed there.
In your terminal
Section titled “In your terminal” portfolio-intel CLI Interactive TUI and a headless parse command with JSON output and exit codes.
REST API When you need snapshots, enrichment and reports.