1. Conduid
  2. Developer Tools
  3. Next Lens
MCP server · Developer Tools

Next Lens

A CLI that scans Next.js routes and provides quick insights from your terminal, web UI, and MCP.

Unclaimed clinextjs
52Fair

Scored 6 months ago · breakdown

About Next Lens

Next Lens is an MCP server in the Developer Tools category: a CLI that scans Next.js routes and provides quick insights from your terminal, web UI, and MCP.

Install

From source
git clone https://github.com/1weiho/next-lens

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Next Lens

Powered by Claude · Grounded in docs

I know everything about Next Lens. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

next-lens

next-lens is a light CLI companion for the Next.js App Router. Scan any project and see API and page routes instantly in your terminal.

What it does

  • Lists app/**/page.* and shows whether loading / error is colocated or inherited.
  • Scans app/api/**/route.* with colorized HTTP methods.
  • Highlights dynamic, optional, and catch-all params so route shapes are obvious.
  • Reports Next.js / React / Node versions and the package manager.
  • Works on any target directory—no Next.js runtime needed.

Quick start

Run in a Next.js project root, or pass another directory:

npx next-lens@latest [command] [target-directory]

Commands

[dir] arguments are optional, they default to the current directory.

  • next-lens about — one-page tool overview.
  • next-lens api:list [dir] [-m, --method] — list API routes and detected HTTP handlers.
  • next-lens page:list [dir] — list page routes and show loading / error coverage.
  • next-lens info [dir] — show Next.js / React / Node / package manager versions.
  • next-lens web [dir] — launch the inspector UI.
  • next-lens web:build [dir] — build a static readonly snapshot of the inspector.

MCP integration

Expose the same insights to IDEs or copilots via MCP:

{
  "mcpServers": {
    "next-lens": {
      "command": "npx",
      "args": ["next-lens@latest", "mcp"]
    }
  }
}

License

MIT © Yiwei Ho

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Next Lens

How do I install Next Lens?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Next Lens safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Next Lens still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.