Skip to content
@apicircle

apicircle

API Circle

API Circle

Know when a pull request changes your API.
API Circle reads your repository and maps every endpoint to the code behind it,
then shows what a pull request changes against your OpenAPI spec.
The API workspace is free.

apicircle.dev @apicircle-lens/cli on npm Stars on the free workspace's repository Free workspace licence: source-available


API Circle is one desktop app. Its API workspace is free and needs no account. The Lens features are paid, and they read the code behind your API. The two are licensed and priced differently, so this page keeps them apart. apicircle.dev/pricing has the plans and what each one includes.

The Lens features

API Circle builds a Code graph of your API from its source, every endpoint mapped to the code that implements it, and, using the Code graph and the Spec (the OpenAPI contract), identifies PR Review drift: where a pull request moves the API away from its contract.

These are the paid features, called Lens in the app:

  • Code graph. It is built from your source, never from a spec. For each endpoint API Circle records the route, the handler and the functions the handler calls, and writes the result into your repository as a codegraph/ sidecar, so it's versioned and reviewed like any other file. Where it can't read a shape with confidence, it leaves it unknown instead of guessing, and you can verify it by hand.
  • Spec alignment. Pick a Spec and every endpoint where code and contract disagree gets a pill: undocumented, not implemented or stub. "Verify schema" lets a person assert a shape the parser left unresolved. The result is committed and audited, and PR Review uses it (--use-verified in CI).
  • PR Review drift. Two comparisons: the pull request against the Code graph of its base, and against your Spec. The findings are concrete: a route removed, access control dropped, a status the Spec doesn't document. In the desktop app, nothing reaches your Git host until you press Submit.
  • Working tree review. The same review runs on the uncommitted edits on your disk, an AI assistant's changes for example, with no Spec needed.
  • Refinements. Declare an endpoint the parser missed, or block a false positive with a reason. Each correction is a file beside the Code graph, so it survives every reindex.
  • Assistant. A chat in the desktop app that answers from the Code graph, using your own Anthropic, OpenAI or Google key.
  • Languages. TypeScript and JavaScript, Python, Go, Java, C# and Rust. The Code graph page lists the frameworks for each. PHP is read only by pattern matching on route lines, and Ruby, Elixir and Kotlin aren't supported yet.
  • Git hosts. GitHub works on every plan, including free. GitLab, Bitbucket Cloud and Azure DevOps are reached through each host's own review API, and those three are a paid capability.
  • Your code stays on your machine. Indexing and review run locally and send API Circle no repository content. Two optional features send content to the AI provider whose key you supply: the Assistant, and "Index with AI", which asks first and sends the files it reads. The MCP server runs locally and gives your AI client what it asks for, which can include source code.

The Team plan adds seats, per-device activation and single sign-on over OIDC. CI signs in with a CLI key, not a seat.

Where it runs

Surface Where it runs What it needs
API Circle desktop app Windows 10 or later (x64), macOS 13 (Ventura) or later (Apple silicon and Intel), Linux (x64) Free for the workspace. A paid plan for the Lens panels: you sign in, and the ones your plan includes unlock
MCP server apicircle-lens mcp, over stdio, for an MCP client A CLI key, on a plan that includes the MCP server
Command line Node.js 20 or later, on any CI runner A CLI key, on a plan that includes the CLI

The desktop app holds the whole workspace plus the Code graph, Review, Assistant and MCP panels, and the workspace inside it stays free. On Windows, get it on the Microsoft Store; on macOS and Linux, download it from the latest release. Releases before 2.1.9 are named "API Circle Lens": it is the same app.

Both are signed. The Microsoft Store signs the Windows app and keeps it up to date, and the macOS app is signed and notarized by Apple, so each opens like any other app. On Linux, install the .deb, or make the AppImage executable and run it. The release page has the full steps. On macOS and Linux the app doesn't update itself: download each new release.

The command line

@apicircle-lens/cli installs the apicircle-lens binary. It runs the same drift check in CI and exits with a code your pipeline can stop on. The MCP server ships inside it.

npm install -g @apicircle-lens/cli
export APICIRCLE_LENS_CLI_KEY="<your key>"

apicircle-lens codegraph index                          # build the Code graph, then commit the folder it writes
apicircle-lens review --base base.json --openapi openapi.yaml --fail-on breaking
apicircle-lens mcp --repo /absolute/path/to/your/repo   # the MCP server, over stdio

base.json is the Code graph committed on your base branch. The documentation shows the git show line that produces it.

Before you start, you need:

  • Node.js 20 or later.
  • An API Circle account on a plan that includes the CLI. apicircle-lens mcp needs a plan that includes the MCP server. Compare plans.
  • A CLI key. Sign in at account.apicircle.dev, open CLI keys, create a key and put it in APICIRCLE_LENS_CLI_KEY. In CI, store it as a secret.

The CLI documentation has a walkthrough of one pull request, every finding the review can raise, a reference for each command, and a complete pipeline file for GitHub Actions, GitLab CI/CD, Bitbucket Pipelines, Azure Pipelines and CircleCI.

Two more things live in this binary and therefore need a CLI key. apicircle-lens run runs a saved execution plan headlessly, and apicircle-lens mock serves a mock from a spec file. Inside the free apps, both are free.

The MCP server gives an AI client your workspace (requests, environments, mocks and plans), the Code graph, PR Review and the Endpoint context graph (contracts, mocks, callers and tests per endpoint). The desktop app's MCP panel installs it into Claude Desktop, Claude Code, Codex, Cursor, Continue, Zed and Windsurf, and any other MCP client takes a pasted snippet. HAR import (import.har) and code generation (generate.code) are tools of this MCP server. The free workspace has neither.

Moving from @apicircle/cli or @apicircle/mcp-server? Both are deprecated. apicircle <command> is now apicircle-lens <command>, apicircle-mcp is now apicircle-lens mcp, and both need a CLI key.

The free API workspace

Your API workspace is just code. Store it like code and review it like code. The workspace is the API client built on that: free, no account, and developed in the open at apicircle/studio.

  • A workspace is a Git repository. Collections, environments and mock definitions are plain JSON that the app pushes to a working branch in your own GitHub repository. It opens the pull request from inside the app, and walks you through a three-way merge when two people changed the same thing. Auth credentials are blanked before every push. Run history and sessions stay on the device.
  • Requests. Seven HTTP methods and eight body types, GraphQL among them. It speaks HTTP only: no WebSocket, SSE, gRPC or scripts.
  • Authentication. 15 schemes: Bearer, Basic, API key, custom header, six OAuth 2.0 grants (with PKCE, device code and token refresh), AWS Signature v4, Digest, NTLM, Hawk and JWT Bearer. A folder can carry auth that its requests inherit. Signing is checked against RFC and NIST reference vectors.
  • Environments and secrets. Environments stack in priority order. Secrets live in the Secret Vault, encrypted with AES-256-GCM, and on the desktop the operating system's keychain wraps the key.
  • Mock servers. Give it an OpenAPI, Swagger, Postman or Insomnia file and it serves a mock on 127.0.0.1, with response rules, request validation, delays and multipliers. The desktop app and the VS Code extension run mocks. The web app edits mock definitions but can't run one, because a browser tab can't listen on a port.
  • Execution plans and assertions. Chain saved requests, pass a value extracted from one response into the next request, and grade each response with five kinds of assertion. Plans run in the app for free. Running one headlessly in CI is the command line.
  • Imports. OpenAPI / Swagger, Postman v2.1 collections, Postman environments, Insomnia v4 exports, cURL commands and API Circle exchange files.
  • History and snapshots. Every request and plan you run is kept on the device with its headers, body and assertion results. The app also snapshots the workspace before a push, a merge or an import.

Where the free workspace runs

Surface Where it runs Notes
On the desktop Windows 10 or later (x64), macOS 13 or later (Apple silicon and Intel), Linux (x64) The same API Circle desktop app as above: Microsoft Store on Windows, latest release on macOS and Linux. Its workspace needs no account and runs mock servers.
In the browser studio.apicircle.dev, any modern browser Nothing to install. It can't run a mock server.
VS Code extension VS Code 1.94 or later The same workspace as YAML documents, and it runs mock servers. Marketplace · Open VSX

The workspace engine and the mock engine are also on npm, as @apicircle/shared, @apicircle/core and @apicircle/mock-server-core, under the workspace licence below.

What we believe

  • Own your data. A workspace you can cat, diff, and git log is a workspace nobody can hold hostage.
  • Git is the sync layer. Branches and pull requests already solved collaboration. We didn't need to reinvent that.

Repositories

Repo What's in it
studio The free API workspace, source-available: the web app, the VS Code extension, the mock engine and the core packages that the API Circle desktop app is built on. It ships no CLI and no MCP server.
.github This profile, the desktop app releases and the CLI documentation. The Lens features' source isn't public.

Get involved

Licences. The free workspace's source, the studio repository, is released under a custom source-available licence: free for personal, educational, and non-commercial use (plus a 30-day commercial evaluation). It is not an OSI-approved open-source licence; ongoing commercial use requires a separate licence. See LICENSE. The Lens features, @apicircle-lens/cli included, are proprietary, and the Terms of Service govern their use.


apicircle.dev · Pricing · Download · Docs

Pinned Loading

  1. studio studio Public

    Git-backed, AI-native API workspace: desktop, web, CLI, local Hono mocks, and MCP tools for Claude, ChatGPT, Cursor, Copilot, and more.

    TypeScript 1

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…