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 flowleapOr with the install script (macOS/Linux):
curl -fsSL https://raw.githubusercontent.com/abdullahatrash/flowleap-cli/main/install.sh | shThe 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 setupOr 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 reachabilityWhat it can do
| Command | Purpose |
|---|---|
flowleap patent | Search and analyze patents |
flowleap ops | Direct EPO OPS queries |
flowleap uspto | USPTO Open Data Portal queries |
flowleap citation | USPTO citation and prior-art data |
flowleap academic | Academic literature search |
flowleap npl | Non-patent literature search |
flowleap legal | Patent-law reference search (EPC, MPEP, guidelines) |
flowleap tools | Discover 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 directoryWith 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.
