MCP Server

Your patent research team, inside every AI agent.

flowleap mcp is a local MCP server that puts every FlowLeap backend tool into Claude Code, Cursor, Codex, and any MCP client. One line of config, no separate service to run.

terminal
$ claude mcp add flowleap -- flowleap mcp✓ Added flowleap. 26 patent tools ready.

Every backend tool, mirrored live.

Prior art, patent data, citations, legal research, and analytics, all callable straight from your assistant.

search_patents

Search EPO and USPTO for prior art in one call, with query building and enrichment handled for you.

get_bibliography

Pull bibliographic data, abstract, and legal status for any patent by its publication number.

get_claims

Fetch the full claim text of a patent in any published language.

get_patent_summary

Get a one-call snapshot of a patent: bibliography, family, legal status, and remaining term.

compare_patents

Compare up to ten patents side by side across their bibliographic fields.

reference_search

Search academic papers and non-patent literature for prior art that isn't in patent databases.

And more. The server reads the backend /v1/tools registry at startup, so new tools appear in every harness with no CLI update.

Built to plug in.

Local stdio, one binary

flowleap mcp runs as a stdio server from the same binary you install. No separate service, no URL to host, no extra dependencies.

One line, every harness

Claude Code, Cursor, Codex, opencode, Cline, Gemini CLI. Point any MCP client at flowleap mcp and the tools appear.

A registry that stays current

Tools are read from the backend at startup. When the backend gains a tool, every connected agent gets it, with no upgrade.

Connect in one line.

Install the CLI, sign in once, then add the server to your harness.

Prerequisites: the FlowLeap CLI

flowleap mcp is a subcommand of the FlowLeap CLI, so the CLI is the MCP server. Install it and sign in once, then point your harness at flowleap mcp.

Set Up the CLI
  1. 1

    Install the FlowLeap CLI with npm i -g flowleap. It ships the flowleap mcp server.

  2. 2

    Sign in once with flowleap auth login — any FlowLeap account with an active plan or trial.

  3. 3

    Add the server to your harness with one of the snippets below.

  4. 4

    Verify with flowleap mcp --check before your agent relies on it.

Claude Code

claude mcp add flowleap -- flowleap mcp

claude mcp add defaults to project scope. Add -s user to enable FlowLeap in every project.

Cursor · ~/.cursor/mcp.json

{
  "mcpServers": {
    "flowleap": { "command": "flowleap", "args": ["mcp"] }
  }
}

Codex · ~/.codex/config.toml

[mcp_servers.flowleap]
command = "flowleap"
args = ["mcp"]

opencode · opencode.json

{
  "mcp": {
    "flowleap": {
      "type": "local",
      "command": ["flowleap", "mcp"],
      "enabled": true
    }
  }
}

Cline · cline_mcp_settings.json

{
  "mcpServers": {
    "flowleap": { "command": "flowleap", "args": ["mcp"] }
  }
}

Gemini CLI · ~/.gemini/settings.json

{
  "mcpServers": {
    "flowleap": { "command": "flowleap", "args": ["mcp"] }
  }
}

Windsurf · ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "flowleap": { "command": "flowleap", "args": ["mcp"] }
  }
}

Zed · settings.json

{
  "context_servers": {
    "flowleap": { "command": "flowleap", "args": ["mcp"], "env": {} }
  }
}

Roo Code · .roo/mcp.json

{
  "mcpServers": {
    "flowleap": { "command": "flowleap", "args": ["mcp"] }
  }
}

Goose · ~/.config/goose/config.yaml

extensions:
  flowleap:
    name: flowleap
    type: stdio
    cmd: flowleap
    args: ["mcp"]
    enabled: true
    timeout: 300

Verify readiness

One command checks backend reachability, auth, provider keys, and the live tool count, and tells you exactly what to fix.

flowleap mcp --check

Headless & JSON-only

Skip the interactive login by passing a token in the config's env block, alongside optional EPO and USPTO provider keys.

{
  "mcpServers": {
    "flowleap": {
      "command": "flowleap",
      "args": ["mcp"],
      "env": { "FLOWLEAP_TOKEN": "fl_pat_..." }
    }
  }
}

Using FlowLeap on claude.ai? The hosted FlowLeap connector there is separate and does not need the CLI. This page covers the local MCP server for developer harnesses like Claude Code, Cursor, and Codex.

Errors agents can act on.

The server is built for unattended use: nothing crashes the session, and every failure explains itself.

Failures never crash the session

Errors come back in-band as structured tool results, so the conversation keeps going instead of dropping the connection.

Every error carries a fix

A missing key, an expired login, or a rate limit returns a structured hint telling the agent exactly what to do next.

Starts before you log in

An unauthenticated server still starts, and every tool explains how to sign in, so setup is discoverable from inside the agent.

Add FlowLeap to your assistant.

Point your MCP client at flowleap mcp and research patents without leaving the conversation.