Skip to main content

Ferret logo

Ferret

Private search for your team's documents. Every answer cites the passage it came from,
and when nothing supports it, Ferret says so.

Runs offline No cloud AI Windows, macOS, Linux Python 3.13 MCP server

Quick start · What it does · Ferret Crawler · AI assistants · Docs

Ferret search results: cited passages, AI summaries, topics and linked documents

Quick start

Windows 10/11, easiest: download Ferret-Setup-<version>.exe from the latest release and run it. No admin rights, no Python. Ferret opens in your browser and stays in the system tray (Open · Pause indexing · Start when I sign in · Updates · Quit). If port 8000 is taken it uses the next free one. Settings → Updates checks GitHub and installs a new version in place (it also checks daily). The installer is not code-signed yet, so Windows SmartScreen may warn: More info → Run anyway.

Windows 10/11 from the source: open Command Prompt and run

git clone https://github.com/MayankPunghal/ferret
cd ferret
setup.bat --demo

macOS / Linux

git clone https://github.com/MayankPunghal/ferret
cd ferret
./setup.sh --demo

Setup takes a few minutes. It installs everything for your user account (no admin rights, no Docker), then opens http://127.0.0.1:8000, where you create the administrator account. --demo loads fictional sample documents to try it on.

No git? Code → Download ZIP, unzip, double-click setup.bat. Next time, start Ferret from the desktop shortcut, start.bat or ./start.sh.

With uv (from the first published release): uv tool install ferret-search, then ferret starts it and opens the browser. Data and models go to a Ferret folder in your home folder.

Docker, one container for a few people (from the first published release):

docker run -d -p 8000:8000 -v ferret-data:/data -v ferret-models:/models ghcr.io/mayankpunghal/ferret-search

On first start Ferret checks the computer's memory and graphics card and picks defaults to suit: summaries off under 8 GB, and on the GPU with 16 GB and a graphics card it can use. Settings shows what it found.

Setup options
Option Effect
--demo / --no-demo load the sample documents and demo users, or skip them, without asking
--summaries / --no-summaries download the optional summary model now (~3.2 GB), or turn summaries off
--no-start install only
--no-shortcut Windows: no desktop shortcut

Re-running setup is safe: finished downloads are reused. Full walkthrough: Getting started.

What it does

  • 🔎 One box, two kinds of search — Exact terms (ERR-PAY-4012, /api/v2/invoices, a file name) and plain questions ("how do I roll back a release?"), together.
  • 📎 Evidence, not guesses — Every result is a real passage with a link to the file and page. If nothing in your documents supports an answer, Ferret says so.
  • 💬 Ask — A chat with a small local model: it runs the search first, answers in words from the passages that passed the evidence check, cites each one, and streams the answer. Conversations are saved, follow-ups remember the thread, and "Think first" shows the model's reasoning. No evidence, no answer — it says so instead of guessing.
  • 🔒 Stays on your machine — Database, models and search all run locally. No account, no GPU, no API keys.
  • 🕸️ Follows your links — Wiki links, Markdown links and depends_on front matter: see what a page links to, what refers to it, and what breaks if it changes.
  • 🕷️ Ferret Crawler — Copies a website or intranet, even one behind a sign-in, into a collection.
  • 🤖 Works with your AI assistant — A built-in MCP server lets Claude, Cursor or VS Code search your documents. Tokens are read-only unless you allow changes.
  • 👥 Teams and permissions — Collections, groups and read/write access, enforced inside every query.
  • 📝 Optional summaries — A small local model writes a summary, a type and topics for each document, in the background. These are labelled and never used as evidence.

Reads PDF, Word, PowerPoint, HTML, Markdown and text. Scanned PDFs without a text layer and text inside images are not read yet (no OCR).

Passage panel with the cited passage, AI summary and connections Connection graph of a densely linked wiki, two hops
The passage in context, with its document's summary and connections Two hops of links around a page; point at one to see all its links

Copy a website with Ferret Crawler

  1. Sign in as administrator → Crawler → Copy a website. Paste the address. If the site asks you to sign in, a browser window opens; sign in there.
  2. When the copy finishes, Add to a collection (an existing one or a new one). Its pages and the PDF, Word and PowerPoint files they link to are indexed, each page keeping its web address.
  3. Update later brings in only what changed.

Ferret Crawler also runs on its own (double-click site2md/Crawl Website.bat or .command); see its README.

Connect an AI assistant

Create a token under AI assistants, then, for Claude Code:

claude mcp add --transport http ferret http://127.0.0.1:8000/mcp --header "Authorization: Bearer <your token>"

The page has ready-to-copy setups for Claude Desktop, Cursor and VS Code. Passages the assistant reads go to its provider, so check your policy before connecting confidential collections. More.

What runs on your computer

Part Size Job
PostgreSQL + pgvector (embedded) installed by setup stores documents, passages, links and access rights
bge-base-en-v1.5 ~210 MB finds passages by meaning
jina-reranker-v1-turbo-en ~150 MB re-reads the top results and judges evidence
Optional: Gemma 4 E2B or a smaller model (llama.cpp) 0.5–3.2 GB summaries, types and topics, in the background

Needs: 64-bit Windows 10/11, macOS or Linux; 4 GB free RAM (8 GB recommended); ~2 GB disk. Internet only during setup. Speed: a search usually answers in under a second on a CPU. Indexing runs in the background: about 5–7 passages per second on a 4-core test machine, so a 10-page PDF takes ~5 s. Measurements and their limits: Evaluation.

Documentation

Guide For
Getting started install, first run, try it on your own documents
User guide searching, reading results, uploading, AI assistants
Admin guide settings, users and groups, synced folders, the crawler, reindexing
How it works plain-language tour: embeddings, evidence check, links
Deployment · Configuration server setups, Docker, TLS, backups, KS_* variables
Evaluation measured retrieval quality, abstention and speed
Architecture · Development design decisions, project layout, tests, API
Troubleshooting common problems and fixes
Handoff · To do · Plans project status: verified vs. not yet verified; open work

Status and license

Version 1.0: cited search, connections, optional summaries, crawler and MCP server. Ferret does not write generated answers yet. Handoff lists exactly what has been verified.

No license has been chosen yet; all rights reserved by the repository owner. Third-party components and models keep their own licences (list).

Metadata

Release files for ferret-search 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ferret-search 1.1.6
File Size Uploaded Provenance Actions
ferret_search-1.1.6.tar.gz 2.4 MB With provenance Details for ferret_search-1.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ferret-search 1.1.6
File Interpreter ABI Platform Actions
ferret_search-1.1.6-py3-none-any.whl Python 3 none any Details for ferret_search-1.1.6-py3-none-any.whl

Total release size: 4.8 MB

Release files / ferret_search-1.1.6.tar.gz

Download URL ferret_search-1.1.6.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
26696231be4ab773d5c7db7204e05767f14133853584f33b69c626a345b69e8d
BLAKE2b-256 checksum
How to use checksums
9793eeb1b0c554ec474540f9038e73b11744b2a5b91f7e5ad917e5d1c97f4789
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / ferret_search-1.1.6-py3-none-any.whl

Download URL ferret_search-1.1.6-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
647ab94fc26fe1e874f101f464bdbba24aad31503e2ba17edb07aad9f6964029
BLAKE2b-256 checksum
How to use checksums
c467f06037492d7bdd502de1ccb5453af2f32a5c7e972bea96c09b3ca4d48298
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for ferret-search 1.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ferret_search-1.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page