Skip to content

Index

op-find-item

op-find-item-1.gif

op-find-item is a command-line tool (CLI) for granular, secure 1Password searches. It lets you search your 1Password items based on all vaults and fields or a subset, and includes vault and field names with the returned results.

This site contains documentation for end users. For Developer resources see the repo.

...a community project

This is an independent piece of software that is not affiliated with, or sanctioned by, AgileBits Inc. or any other official 1Password entity.

Why use this?

Usually, the search built-in to 1Password is fine!

op-find-item provides extra information and flexibility for when you need it:

  • Search results indicate the matching vault and field
  • Searches may be restricted to only specific vaults and field names

One main use case for op-find-item is to help you discover what specific login(s) have been impacted by a data breach for which you've received notice.

It is often the case for such breach notices that the impacted company includes a small portion of your compromised password. Determining which of your password contains that small amount of text (often three or so characters) can be difficult using the 1Password app alone. 1Password's search only works across all fields, and the matches do not indicate in which field(s) the matches were found.

op-find-item helps with this problem by including the name of the matching vault and field with each of its search results. Furthermore, you can restrict the search to just the desired vaults or field names (such as "Password").

This tool is secure, at least to the same degree as 1Password itself, due to relying completely on 1Password desktop app integration for authentication.

Features

  • Searches 1Password for matching items across all vaults and fields (including passwords) or a subset you specify
  • Secure, using 1Password's official Software Development Kit (SDK) and authentication framework. op-find-item does not access, store, process or see your 1Password authentication details at any time.
  • Pleasant to use. This is a modern command-line utility (CLI) with a pretty interface, human-readable output, progress bars and support for structured output (JSON) to help with scripts.

Installation

Prerequisites

  1. The 1Password desktop application
  2. A valid 1Password account
  3. Either uv or Python 3.11, 3.12, 3.13 or 3.14

It is recommended, but not required, to first install uv

uv tool install op-find-item
Or run once without installing
uvx op-find-item <command parameters>

Installation with pip

If you are managing your own Python installs in some way other than uv, you can install op-find-item using pip.

pip install op-find-item

Installation from source

Clone the GitHub repository, then install the project and its development dependencies:

git clone https://github.com/sbfeinstein/op-find-item.git
cd op-find-item
uv sync

Run the CLI from the checkout with:

uv run op-find-item --help

Quick Start

Confirm installation and get additional information by running:

op-find-item --help

Search all vaults and all fields for the string foo with this command.

Note that the value you give for --account-name is case-sensitive and must match your 1Password account name exactly.

op-find-item --account-name='<your 1Password account name or email>' foo
For more information on using and authenticating the tool, see Authentication and Usage.