Install it
Last updated 3 December 2026
With an AI assistant. Copy this prompt into Claude Code or the Claude desktop app, the two assistants it was tested with. It stops before your token, which you type in your own terminal.
Install veriph.ai, a citation checker, on this computer. Show me each command before you run it, and ask me before anything that needs sudo or changes a system setting.
1. Install uv, the Python package installer. It needs no sudo or administrator rights.
On macOS or Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
On Windows, in PowerShell: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Then use a new terminal (on Windows, a new PowerShell window) for the next steps, so that uv's folder is on the PATH.
On macOS, if uv is still "not found" there, run: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile and open another new terminal.
2. Run: uv tool install "veriph-ai[mcp]" --python 3.12
uv downloads its own Python 3.12 if needed. Then run: veriph-ai --version
3. Add veriph.ai to the Claude desktop app's MCP settings file. Add a server named "veriph.ai" whose command is the full path to veriph-ai-mcp in uv's tool folder (~/.local/bin/veriph-ai-mcp, or on Windows %USERPROFILE%\.local\bin\veriph-ai-mcp.exe). The entry is the command path only, with no env block. Write every path in that file in full (starting with /Users, /home or C:\\Users), never with ~ or %USERPROFILE%. Keep every other entry as it is, and do not show me the file's contents.
4. Stop here. Never ask for my CourtListener token, never run the next command yourself, and never read, print or write the token. Tell me to run this myself in a terminal window of my own (on Windows, a PowerShell window), then wait until I say done:
veriph-ai token
It asks for my token without showing it, and asks whether to turn lookups on. Then tell me to restart the Claude desktop app.
5. In a new terminal (on Windows, a new PowerShell window), run veriph-ai doctor. Tell me in plain words what each line means and whether anything needs fixing. Do not print the token if it appears.
Or follow the steps for your system:
Pick your system and follow the steps. Copy each command with its button.
veriph.ai runs on Python 3.12, which uv installs for it. It is tested on macOS (Apple Silicon), Windows 11 (x64) and Linux (x86_64). On other platforms, the install builds one dependency from source and needs a C++ compiler. Before release, the install ran three times on each of the three, starting from a new account (on Linux, in new containers).
- Install uv. uv is a Python package installer. It brings its own Python 3.12
for veriph.ai, so you do not need to install Python, and it needs no administrator password.
curl -LsSf https://astral.sh/uv/install.sh | sh - Open a new terminal window. The new window finds the commands uv just added. In the same window, the next step reads “command not found”.
If a command in the next steps still reads “command not found”, add uv’s folder to your PATH, then open another new window:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile - Install veriph.ai.
uv tool install "veriph-ai[mcp]" --python 3.12 - Check it installed.
veriph-ai --version - Save your CourtListener token. Run this yourself, in a terminal window of your own, never
through an AI assistant. It asks for the token without showing it, then asks whether to turn lookups on.
The answer is no unless you type y.
veriph-ai tokenA token comes with a CourtListener account (CourtListener’s API help). No token? Use a local copy of the case law instead (how).
- Check it worked. First the setup check. It says where your token and your
lookups setting came from:
veriph-ai doctorThen a sample check on one sentence with the sanctioned citation:
printf 'See Varghese v. China Southern Airlines Co., Ltd., 925 F.3d 1339 (11th Cir. 2019).\n' > brief.txtveriph-ai check brief.txtWith your CourtListener token, it blocks this citation. With a local copy instead, it reads unverified, for you to check.
- Connect the Claude desktop app. In the app, open Settings, Developer, Edit
Config, and add:
{ "mcpServers": { "veriph.ai": { "command": "/Users/[your user name]/.local/bin/[the server command]" } } }The server command is
veriph-ai-mcp. Restart the app. It uses the token and the lookups answer you saved, so the settings file holds no token. The server keeps its audit log in~/.local/share/veriph-ai/audit.jsonl.veriph-ai doctorshows where both logs are: the one for checks run in a terminal, and the server's.
Tested in new Linux containers (x86_64). The first step needs curl.
- Install uv. uv is a Python package installer. It brings its own Python 3.12
for veriph.ai, so you do not need to install Python, and it needs no administrator password.
curl -LsSf https://astral.sh/uv/install.sh | sh - Open a new terminal window. The new window finds the commands uv just added. In the same window, the next step reads “command not found”.
- Install veriph.ai.
uv tool install "veriph-ai[mcp]" --python 3.12 - Check it installed.
veriph-ai --version - Save your CourtListener token. Run this yourself, in a terminal window of your own, never
through an AI assistant. It asks for the token without showing it, then asks whether to turn lookups on.
The answer is no unless you type y.
veriph-ai tokenA token comes with a CourtListener account (CourtListener’s API help). No token? Use a local copy of the case law instead (how).
- Check it worked. First the setup check. It says where your token and your
lookups setting came from:
veriph-ai doctorThen a sample check on one sentence with the sanctioned citation:
printf 'See Varghese v. China Southern Airlines Co., Ltd., 925 F.3d 1339 (11th Cir. 2019).\n' > brief.txtveriph-ai check brief.txtWith your CourtListener token, it blocks this citation. With a local copy instead, it reads unverified, for you to check.
Tested on Windows 11 (x64). Every step runs in PowerShell and needs no administrator rights.
- Install uv. uv is a Python package installer. It brings its own Python 3.12
for veriph.ai, so you do not need to install Python.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" - Open a new PowerShell window. The new window finds the commands uv just added. In the same window, the next step reads “command not found”.
- Install veriph.ai.
uv tool install "veriph-ai[mcp]" --python 3.12 - Check it installed.
veriph-ai --version - Save your CourtListener token. Run this yourself, in a PowerShell window of your own, never
through an AI assistant. It asks for the token without showing it, then asks whether to turn lookups on.
The answer is no unless you type y.
veriph-ai tokenA token comes with a CourtListener account (CourtListener’s API help). No token? Use a local copy of the case law instead (how).
- Check it worked. First the setup check. It says where your token and your
lookups setting came from:
veriph-ai doctorThen a sample check on one sentence with the sanctioned citation:
Set-Content brief.txt 'See Varghese v. China Southern Airlines Co., Ltd., 925 F.3d 1339 (11th Cir. 2019).'veriph-ai check brief.txtWith your CourtListener token, it blocks this citation. With a local copy instead, it reads unverified, for you to check.
- Connect the Claude desktop app. In the app, open Settings, Developer, Edit
Config, and add:
{ "mcpServers": { "veriph.ai": { "command": "C:\\Users\\[your user name]\\.local\\bin\\[the server command].exe" } } }The server command is
veriph-ai-mcp. Restart the app. It uses the token and the lookups answer you saved, so the settings file holds no token. The server keeps its audit log in%LOCALAPPDATA%\veriph-ai\audit.jsonl.veriph-ai doctorshows where both logs are: the one for checks run in a terminal, and the server's.
WSL2 on Windows, if you prefer it: follow the Linux steps inside your WSL2 Linux. The desktop app then needs extra setup to reach the server, which this page does not cover.
From source, for contributors: clone the code
(git clone https://github.com/veriph-ai/veriph-ai.git), and in a virtual environment inside that folder
run pip install -e ".[mcp]".
Free and open source, under the Apache License 2.0. By default, it sends nothing to any other machine. GitHub
Call it from your tools
It runs as a command line tool and as an MCP server, from one install.
The MCP server
The install above includes the server: veriph-ai-mcp. It
uses standard input and output by default. With --http it listens on 127.0.0.1.
Any other host needs --allow-remote and configured authentication. The server
adds no TLS.
Its tools include verify, verify_filing, verify_citations
and verify_adverse_authority. Each result carries the coverage statement and says which checks did not run. The
server keeps a call log with the caller’s identity and no draft text.
- What “sends nothing” covers. It describes the checker. When an AI assistant calls it, the draft is already with that assistant and its vendor.
- With nothing set, nothing is looked up. Every lookup then reads unverified, as in the call below. For lookups, save your token (below).
- It does not borrow the assistant’s judgment. The checking code does not use MCP sampling, so it does not ask the calling assistant’s model to judge a citation. A test checks it.
Turn lookups on
Run veriph-ai token yourself, in a window of your own. It saves your CourtListener API
token (CourtListener’s API
help) in a file only your account can read, and asks whether to turn lookups on. With lookups off,
the token sends nothing. To change that later, run veriph-ai token --lookups on or
veriph-ai token --lookups off.
Instead of a token, you can set BEACON_LOCAL_STORE to the path of a local copy of the case law; the
checker checks the copy’s shape and cannot tell you it is complete.
The setup used for the recorded run (how the recording was made, not an install route)
This is how the run shown on How it works was set up: the Claude desktop app (version 6.28899.6), on a Mac, on 29 November 2026, with veriph.ai 1.0. This section covers that client only.
The app’s settings file (Settings, Developer, Edit Config) held one entry, a path to a start script and no token:
"mcpServers": {
"veriph.ai": {
"command": "[path to the start script]"
}
}
The start script read the CourtListener token from the macOS Keychain, turned lookups on and started the server:
#!/bin/zsh -f
unset BEACON_LOCAL_STORE XDG_DATA_HOME BEACON_DATA_ROOT
tok="$(/usr/bin/security find-generic-password -s veriph-courtlistener -a "$(/usr/bin/id -un)" -w 2>/dev/null)" || exit 1
export COURTLISTENER_API_TOKEN="$tok"
unset tok
export BEACON_NETWORK=on
exec [path to the install]/.venv/bin/[the server command]
Square brackets mark the edits made for this page: two paths and the server command, veriph-ai-mcp, are replaced. Left out of
the script: its comments, an error message, a check for an empty token, and seven lines that name and make
its folders and set where its logs and cache go. The settings entry is the one used; the app’s settings file itself was not
opened for this page.
- What was sent where, in that run. The assistant’s vendor received the prompt, which held the citation, and the tool’s reply. CourtListener received four searches, each for the citation string alone, with the token the API requires; each returned 200. The server’s log lists no other request. No model was configured, so nothing went to a model from the checker.
- The token stays out of files. It sat in the Keychain and in the running server’s environment.
-fand theunsetline matter. An earlier recording picked up a local-copy setting from the shell’s startup file and ran against the local copy instead of CourtListener.
Each design rule names a test you can run.
The same citation with the network off: nothing is looked up, so nothing is blocked
→ tools/call
{
"name": "verify_filing",
"arguments": {
"text": "See Varghese v. China Southern Airlines Co., Ltd., 925 F.3d 1339 (11th Cir. 2019).\n"
}
}
← result
{
"status": "warning",
"summary": "2 finding(s) could NOT be verified (not the same as passed); 2 check(s) not run: Adverse-authority search, Holding characterization",
"status_reason": "Nothing blocks this filing, but some results are not a pass. 0 blocking, 0 warning, 4 UNREACHED, 0 NOT IN CORPUS, 0 compared and not confirmed.",
"for_review": 0,
"quote_notes_not_placed": 0,
"checks_not_run": [
"adverse_authority_omission",
"holding_misrepresentation"
],
"not_run_notice": "These checks did not run, in whole or in part. Nothing in the findings shows that they pass: Adverse-authority search, Holding characterization.",
"findings": [
{
"check": "citation_existence",
"determination": "unverified",
"mode": "decide",
"summary": "Could not confirm 925 F.3d 1339 — source unavailable",
"basis": "ground truth unreachable: NOT CHECKED: lookups are off; run veriph-ai token --lookups on (or set BEACON_NETWORK=on) to use the CourtListener API, or set BEACON_LOCAL_STORE",
"reached": false,
"claim_id": "c1"
},
[… 84 more lines of the same reply, not shown]
The reply is cut after its first finding.