Rust CLI for searching and browsing the Ollama model registry. No browser required.
Find a file
kelsey 1bda82bc8d Add --limit flag to search command
Truncates results after filtering, so it composes with --max-size
and --cap. Short flag is -l.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-03 10:52:47 -07:00
src Add --limit flag to search command 2026-06-03 10:52:47 -07:00
.gitignore Initial commit: Rust CLI for searching the Ollama model registry 2026-06-03 10:08:37 -07:00
Cargo.lock Fetch file sizes in parallel for all search results 2026-06-03 10:29:17 -07:00
Cargo.toml Fetch file sizes in parallel for all search results 2026-06-03 10:29:17 -07:00
LICENSE Initial commit: Rust CLI for searching the Ollama model registry 2026-06-03 10:08:37 -07:00
README.md Initial commit: Rust CLI for searching the Ollama model registry 2026-06-03 10:08:37 -07:00

ollama-models

Search and browse the Ollama model registry from your terminal. No browser required. No JavaScript. No tracking. No cookies. No bullshit.

Why

The official ollama CLI cannot search for models. At all. Want to find a vision model? Open a browser. Want to compare quantization sizes? Open a browser. Want to see what's trending? Open. A. Browser.

The modern web is hostile territory — trackers, consent popups, layout shifts, megabytes of JavaScript just to display a list of text. I refuse to open a web browser to search for models. I shouldn't have to, and now I don't.

This tool scrapes ollama.com so you never have to visit it.

Install

cargo install --path .

Or build from source:

git clone https://github.com/kernelzeroday/ollama-models
cd ollama-models
cargo build --release
cp target/release/ollama-models ~/.local/bin/

Usage

Search for models

ollama-models search llama
ollama-models search --cap vision
ollama-models search --cap tools,thinking --sort newest
ollama-models search "code" --page 2

Show model info

ollama-models info llama3.1
ollama-models info qwen3 --json

List all tags/variants

ollama-models tags llama3.1
ollama-models tags gemma3 --json | jq '.[].name'
ollama-models trending
ollama-models trending --limit 10

JSON output

Every command supports --json for piping to jq, scripts, or whatever else:

ollama-models search --cap vision --json | jq '.[].name'
ollama-models tags llama3.1 --json | jq '.[] | select(.size | test("GB")) | {name, size}'

Available filters

  • --cap vision — vision/multimodal models
  • --cap tools — tool-use / function calling
  • --cap thinking — reasoning / chain-of-thought
  • --cap embedding — embedding models
  • --cap cloud — cloud-hosted models
  • --sort popular — sort by popularity (default)
  • --sort newest — sort by newest

License

MIT