# Hister

> A private search engine over the pages you visited and the files you keep

- Category: AI Productivity & Writing / Research & Answer Engines
- Language: Go
- Licence: AGPL-3.0
- Repository: https://github.com/asciimoo/hister
- Website: https://hister.org/
- Canonical page: https://ai-tldr.dev/tools/hister/

## In short

Hister is a private search engine for the pages you visit and the files you keep. It sits in the Research & Answer Engines category of the AI Productivity & Writing tools and is open-source, written in Go and licensed AGPL-3.0. To get started: download and make it executable.

## Overview

Hister is a private search engine for the pages you visit and the files you keep. It indexes their full contents — not just titles and URLs — so you can find information again later from a web interface, a terminal, or an AI assistant connected through MCP. A browser extension for Firefox or Chrome saves newly visited pages as you browse, and existing material can be brought in by importing browser history, indexing local directories, or importing files directly.

Privacy is the organising constraint: there is no telemetry and no mandatory cloud service, and you run it locally or on infrastructure you control. A single Go binary serves everything, so a personal setup needs no configuration at all — start the server, install the extension, and the index begins filling. Multi-user support keeps each user's documents and search results separate when it runs on a shared server.

The query side is more capable than a search box suggests: field filters, phrases, wildcards, negation, aliases and result priorities, plus optional semantic search through an embeddings endpoint you configure. The MCP client is what makes it interesting alongside a coding or research agent — an assistant can query your own indexed reading and files as a tool, rather than you pasting context in by hand. There is also a crawler for indexing whole websites.

## What it does

- Full-text indexing of visited pages and local files — the actual contents, not just titles and URLs
- Automatic browser indexing via a Firefox or Chrome extension, plus browser-history and file imports and a website crawler
- Query language with field filters, phrases, wildcards, negation, aliases and result priorities
- Optional semantic search through an embeddings endpoint you configure
- Search from a web UI, a TUI, the command line, or an AI assistant over MCP
- Privacy focused: no telemetry, no mandatory cloud service, runs locally or on your own infrastructure
- Multi-user support that keeps each user's documents and results separate on a shared server

## Getting started

Hister ships as a single binary. No configuration is required for a local personal setup — the server must stay running to index pages and search them.

1. Download and make it executable

   Grab the binary for your platform from the latest release and rename it to `hister` (`hister.exe` on Windows).

```bash
chmod +x hister
```

2. Start the server

   On Windows, run `.\hister.exe listen` in PowerShell instead. Keep the terminal open — the server must be running for indexing and search to work.

```bash
./hister listen
```

3. Open the UI and install the browser extension

   Visit http://127.0.0.1:4433, then install the extension for Firefox or Chrome. Visit a page with the extension enabled and search for a phrase from it to confirm your first indexed result.

```bash
# http://127.0.0.1:4433
```

4. Or install via a package manager

   Homebrew, Docker and Nix are all supported alternatives — see the project's installation guide for the details of each.

```bash
brew install hister
```

5. Fill the index with what you already have

   Beyond live browsing, you can import browser history, index local directories, or import files. The project's import and configuration docs cover each path.

```bash
# see https://hister.org/docs/import and
# https://hister.org/docs/configuration#local-directory-indexing
```

## When to use it

- Reach for it when you remember reading something but not where — full-text search over your own browsing beats re-Googling it
- Reach for it to give a coding or research agent a searchable memory of your reading and local files over MCP
- Reach for it to search notes, PDFs and code in local directories alongside web pages from one query language
- Reach for it when the data must stay on infrastructure you control, with no telemetry and no third-party index
