Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Flowslens CLI

MCP server by Kishan-Jaiswar Verified · npm:@flowslens

Flowslens traces a user action in a React, Next.js, NestJS or Express app from the UI through API calls to database queries. It is aimed at developers who need to understand or safely change an unfamiliar codebase.

  • Score 70
  • 0 stars
  • 51 a week
  • MIT
  • Updated

Install Flowslens CLI

Built from the published package, never by AI.

claude mcp add flowslens-cli -- npx -y @flowslens/cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Flowslens CLI in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the flowslens-cli block.

About

Flowslens is a free, local, open-source CLI and dashboard for full-stack JavaScript and TypeScript projects. It maps each button, form and page load in a React or Next.js app through its API calls to the NestJS, Express or Next.js route that answers. It then follows the services called and the Mongoose, MongoDB or Prisma queries run, and flowcharts the decisions along the way.

The tool also explains the database schema and which code reads and writes each collection. It can show what an edit would break before a commit, run impact analysis before a refactor, and find unused files, exports, dependencies and API endpoints. It can also write features and the database up as Markdown with Mermaid diagrams. The project is aimed at developers joining an unfamiliar codebase or reviewing pull requests.

Written from the project's README and checked against it.

Tools it gives your assistant

  • flowShows the execution path of one user action, from the UI down to database operations.
  • scanScans a project directory and builds the graph of its frontend, backend and database code.
  • serveStarts the Flowslens dashboard in the browser for a scanned project.
  • stackReports which stack a project is built with and which parts are not read yet.
  • initDetects the project layout and writes a flowlens.config.json file.
  • traceMerges a runtime trace file into a scan so flow evidence can be confirmed.

What you need

  • Node.js 18.18 or newer
  • Windows, macOS or Linux

Try asking

  • Trace what happens in the database when the order form is submitted
  • Show me the risk factors for the checkout flow in my project
  • Run a stack check on this project and tell me what is not supported

Good to know

  • Vue, Svelte, TypeORM, GraphQL and raw SQL are not read yet.
  • The Mongoose tracing plugin is still driven by fakes in tests.
  • Runtime tracing is proven for HTTP and method spans.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Flowslens CLI

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Flowslens CLI: common questions

What does Flowslens trace?

It traces a user action from a React or Next.js UI through API calls, backend routes and services, down to Mongoose, MongoDB or Prisma queries. It also flowcharts decisions along the way.

Does Flowslens need a database connection?

The source says it can visualize a MongoDB or Prisma schema as an ER-style diagram with no database connection. Runtime tracing requires a running server and a trace file.

Which frameworks are supported?

The source says it reads React, Next.js, NestJS, Express, Mongoose, the MongoDB driver and Prisma. Vue, Svelte, TypeORM, GraphQL and raw SQL are not read yet.

How do I install Flowslens CLI?

In Claude Code run claude mcp add flowslens-cli -- npx -y @flowslens/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Flowslens CLI the official server?

Flowslens CLI is published by npm:@flowslens from its verified domain in the official MCP Registry.

Is Flowslens CLI free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Flowslens CLI safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Flowslens CLI?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Flowslens CLI work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Flowslens CLI Install

Add to stack

Loading.