Metadata-Version: 2.5
Name: veriph-ai
Version: 1.0.0
Summary: Independent verification layer for AI-generated legal work product
Project-URL: Homepage, https://veriph.ai
Project-URL: Source, https://github.com/veriph-ai/veriph-ai
Author: Michael Villarmia
License: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: citation,ediscovery,legal,mcp,verification
Requires-Python: <3.13,>=3.12
Requires-Dist: eyecite>=2.6
Requires-Dist: httpx>=0.27
Requires-Dist: pydantic>=2.9
Provides-Extra: api
Requires-Dist: fastapi>=0.115; extra == 'api'
Requires-Dist: uvicorn>=0.30; extra == 'api'
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Provides-Extra: intake
Requires-Dist: pillow>=12.3; extra == 'intake'
Provides-Extra: mcp
Requires-Dist: mcp<3,>=2.3; extra == 'mcp'
Provides-Extra: verifier
Requires-Dist: anthropic>=0.40; extra == 'verifier'
Description-Content-Type: text/markdown

# veriph.ai

Know what a draft cites before a court does.

veriph.ai checks the citations, quotations and cited years in a legal draft before an attorney files it. It tells you what it found, what it could not check, and why. It runs on your own machine, from a terminal or as an MCP server that an AI assistant calls, and by default it sends nothing to any other machine.

It supports an attorney's judgment and never replaces it.

## Install

```sh
uv tool install "veriph-ai[mcp]" --python 3.12
```

uv fetches Python 3.12 if you do not have it ([install uv](https://docs.astral.sh/uv/getting-started/installation/)). With pip instead: `pip install "veriph-ai[mcp]"` in a Python 3.12 environment. Check the install with `veriph-ai --version`.

The command is `veriph-ai`. The same install includes the MCP server, `veriph-ai-mcp`.

**Requirements:** Python 3.12. Tested on Windows 11 (x64), macOS (Apple Silicon) and Linux (x86_64), installed through uv. On other platforms, the install builds one dependency from source and needs a C++ compiler.

The [guided install page](https://veriph.ai/install.html) walks through each system step by step, including how to connect an AI assistant.

## Check it worked

Run the setup check:

```sh
veriph-ai doctor
```

Then check one sentence. This citation comes from a filing a court sanctioned:

```sh
printf 'See Varghese v. China Southern Airlines Co., Ltd., 925 F.3d 1339 (11th Cir. 2019).\n' > brief.txt
veriph-ai check brief.txt
```

Lookups are off until you turn them on, so each lookup reads `unverified` at first. The [guided install page](https://veriph.ai/install.html) shows how to turn lookups on and see the citation blocked.

## What it checks

- **Citations.** It looks up full case citations in the reporters its lookup parses. "Could not look" and "looked and not found" are always reported as different outcomes.
- **Quotations.** It compares recognized quotations with the opinion text, when it can get that text.
- **Cited years.** It compares the cited year with the years in the case record, when a local store supplies them.
- **Instructions hidden in a draft.** It looks for four wording patterns of instructions aimed at a reader model.
- **A record of the run.** It writes an audit log and, on request, a portable verification record that a reader can inspect without the checker.

A check that did not run is reported as not run, never as passed.

## Learn more

- [veriph.ai](https://veriph.ai): what it does, with a real run on a sanctioned citation
- [Install](https://veriph.ai/install.html): guided steps for each platform
- [How it is tested](https://veriph.ai/method.html): the bar, the method and the results

Free and open source, under the Apache License 2.0.
