FlowLeap CLI

Install the FlowLeap Patent CLI, authenticate, and run patent research from your terminal or from AI agents like Claude Code.

The FlowLeap Patent CLI is included in your plan. It is one command-line tool for the full patent brain: search patents, pull claims and citations, query EPO OPS and USPTO directly, and search academic and legal literature. It is built for humans and AI agents alike; every command has a stable --json output.

Install

With npm (or pnpm/yarn):

npm i -g flowleap

Or with the install script (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/abdullahatrash/flowleap-cli/main/install.sh | sh

The npm package has no install scripts. The native binary downloads on first run from the matching GitHub release and is verified against the release's sha256 checksums before it executes.

Set up

One command checks the backend, signs you in, and stores your patent-data keys:

flowleap setup

Or step by step:

flowleap auth login   # opens your browser, signs in with your FlowLeap account
flowleap keys set     # store your EPO OPS and USPTO ODP keys
flowleap doctor       # verify config, auth, and backend reachability

What it can do

CommandPurpose
flowleap patentSearch and analyze patents
flowleap opsDirect EPO OPS queries
flowleap usptoUSPTO Open Data Portal queries
flowleap citationUSPTO citation and prior-art data
flowleap academicAcademic literature search
flowleap nplNon-patent literature search
flowleap legalPatent-law reference search (EPC, MPEP, guidelines)
flowleap toolsDiscover and run every backend tool

Work with Claude Code and other agents

The CLI ships with Agent Skills: instruction files that teach an AI agent how to run grounded patent research with your FlowLeap account. Install them into your agent's skills directory:

flowleap skills list      # see what's bundled
flowleap skills install   # install into your agent's skills directory

With the skills installed, Claude Code can search prior art, pull claims, check citations, and cite legal grounds directly from your terminal sessions, using your account and your keys. Ask it to run a freedom-to-operate search or a prior-art sweep and it knows which commands to call.

Keys and auth

The CLI uses the same account and the same patent-data keys as the desktop app. See Bring Your Own Keys for getting the keys themselves.