The debugging tool for Node.js.

PeekInside catches the errors your app throws and shows you why: the request, the queries, the API calls, the logs and the line of code. Free on your laptop, encrypted in production, with an AI agent that finds the cause.

For your servers

Try Cloud free

7 days free, no card. Then from $10 a month.

For your laptop

npm install peekinside

Free for good, no account. Read the quick start.

Frameworks
Express · Koa · Fastify · NestJS · Hono · node:http
Databases
pg · mysql2 · Prisma · MongoDB · Mongoose · Knex · Sequelize · TypeORM · Drizzle · Kysely
Calls and email
fetch · axios · got · node:http · nodemailer
Logs and jobs
console · pino · winston · NestJS Logger · node-cron · BullMQ

One line, from your laptop to production.

Attach PeekInside to your app. Without an API key it runs a free dashboard on your machine; with one, the same line reports to PeekInside Cloud, encrypted on your server.

server.jsExpress, NestJS, Fastify, Koa or Hono
1import express from 'express';2import PeekInside from 'peekinside';34const app = express();5PeekInside.attach(app);

While you develop Free

A debugger on your laptop.

Run your app as usual. Its errors, requests, queries, logs, emails and dumps show up at localhost:7335 the moment they happen. No account, and nothing leaves your machine.

$ node server.jsRead the quick start

After you ship 7 days free, then from $10 a month

Every server, one dashboard.

Set an API key on your servers and the same line reports to PeekInside Cloud: errors from every environment, grouped into issues, with alerts, the AI agent and your whole team.

$ PEEKINSIDE_API_KEY=pik1.p… node server.jsTry Cloud free

Every error comes with its story.

A stack trace tells you what broke. PeekInside keeps what led to it: the request that set it off, every query and API call it made, what it logged and your code around the line that threw.

Errors, grouped into issues.

Every error your app throws lands in an issue, with a count and a trend, the stack trace with your code around the line, and the request it happened in.

One issue, not 214 rows
The same error from the same place in your code is one issue. A fix that moves a line doesn't split it.
Your code around the line
Five lines on each side of your frames, read on your server. Frames from node_modules fold away.
Crashes count too
Uncaught exceptions and unhandled rejections are saved before the process exits, and your app crashes exactly as it did.

The request, step by step.

The queries, outgoing calls and log lines of the request an error happened in, on one time axis, in the order they ran.

Loops folded
Thirty runs of the same query in a loop are one row, marked ×30 and N+1.
Calls to other APIs
fetch, axios, got and node:http, with host, status and time. Credentials are cut from the URL.
Your own measures
Wrap a block in peekInside.measure('render invoice', fn) and it gets a span of its own.

N+1s and slow queries, caught.

Every statement across your requests, with its runs and timings, traced back to the line of your code that ran it.

Statements, not rows
The same SQL with different values is one statement, with its runs, p50, p95 and total time.
Flagged for you
Five runs in one request is an N+1, 100 ms is slow, the same values twice is a duplicate. The limits are settings.
Masked before it's sent
Values bound to passwords, tokens or card numbers, and anything that looks like a JWT, are masked in your process.

pg, mysql2, MongoDB, Mongoose and Prisma. Knex, Sequelize, TypeORM, Drizzle and Kysely with nothing to set up.

Every request, decoded.

Headers, bodies and timing of every request your app answers, each one measured against its own route.

Secrets masked
Authorization headers, cookies and tokens stay hidden until you choose to reveal them.
Bodies decoded
JSON as a tree, forms as fields, gzip and brotli unpacked. Binary is described, not dumped.
Copy as cURL
Any request as a cURL command, to send it again from your terminal.

Filter like a query: status:5xx time:>500 has:n+1 has:exception

Ask why it broke.

The AI agent reads your project's errors, requests, queries, logs, jobs and runtime, and answers in plain words: what broke, why, and how to fix it, with links to the records behind the answer. Ask it to set an alert and it does that too, once you confirm.

Answers from your data
It reads what each question needs, with the dashboard's own numbers, and links to every record it used.
Changes only what you confirm
It sets alerts, resolves issues and saves records. Each change waits for your click.
Within each role
Everyone gets answers from what their role can read. Owners and admins can turn it off for anyone.
On every plan
Team includes 3M tokens a month and Business 10M. Packs of 10M for $20 work on any plan.
MCP

In your editor too.

Claude Code, Cursor, VS Code and other AI tools read the same errors, requests and queries over MCP. They fix the code where it lives and replay the request to check it: from the free local dashboard, and from PeekInside Cloud on Team and Business, decrypted on your machine.

Connect your AI tool
Terminalany MCP client
$ claude mcp add peekinside -- npx -y peekinside@latest mcp> Fix the error on POST /api/orders● peekinside · get_error  TypeError: Cannot read properties of undefined (reading 'id')  ▶ createOrder  src/orders.ts:42 · 12 times in the last hour● Update src/orders.ts● peekinside · replay_request  POST /api/orders → 201 Created in 84 ms● peekinside · resolve_error

Know the moment it breaks.

Set an alert from any page and its filters become the conditions: failed or slow requests, crashes, failed jobs, error logs, a process running out of memory. PeekInside tells your team in the app, by email or in Slack.

Every time, or a few in a while
Fire on each match, or on 5 slow requests in 10 minutes, in the environments you pick. Then it stays quiet for a while.
Built in
A new error, an app that goes down and a scheduled job that misses its run tell your team with nothing to set up: in the app on every plan, by email and in Slack from Pro.
Checked before it's encrypted
Conditions on paths, users and messages are checked on your server, so alerts work on what PeekInside can't read.

Leaks and blocked event loops, traced to your code.

Node.js runs your code on one thread, so one slow function holds up every request. PeekInside keeps V8's profilers running in each process, so a growing heap or a blocked event loop comes with the function behind it.

Memory leaks
When the heap keeps rising after garbage collection, it says how fast, and which function holds the memory.
Blocked event loops
Every request that waited shows the block on its timeline, with the function that ran: yours, or the package's it called.
Out of memory
A process that dies at its heap limit leaves behind what held the memory.

Made for the dev loop.

The local dashboard is free, needs no account and keeps everything on your machine. Next to your errors and requests, it shows what console.log never could.

  • Mail previews

    Every email it sends.

    Each email your app sends with nodemailer, as a phone or a desktop shows it, linked to the request that sent it. Failed sends say why.

  • Dumps

    Values, not walls of text.

    PeekInside.dump(value) puts a value in the dashboard as a tree, under the request it belongs to, with the line that dumped it.

  • Replay

    Send it again after the fix.

    Replay the request that failed, cookies and body included, and see it next to the original: what changed, side by side.

And the rest of what you'd ask.

Bundled code, deploys, customers, background jobs and the whole team. Each with an answer.

  • Releases

    Which deploy broke it?

    Every error carries the commit it came from, read from your host. Issues say the deploy they first appeared in, and new ones are marked.

  • Source maps

    Where in my TypeScript?

    Stack frames of compiled and bundled code point at your .ts lines, with the code around them, from the maps your build writes.

  • Users

    Who did it happen to?

    PeekInside.setUser() once, and each issue counts the users it hit. One click lists everything a customer ran into, for the support ticket.

  • Compare

    What's different this time?

    A failing request next to one that worked on the same route: the call that failed, the query that ran 30 times, the field that changed.

  • Jobs and schedules

    Did the nightly job run?

    node-cron, cron, BullMQ and @nestjs/schedule runs, with their errors as issues. A scheduled job that misses its run tells your team.

  • Logs

    What did it print?

    console, pino, winston and NestJS's Logger, every line linked to the request or job that wrote it, encrypted like the rest.

  • Saved records

    Can we keep this one?

    Save the request behind a customer's bug or the crash behind a postmortem, and it stays past the project's history.

  • Teams and roles

    Who can see what?

    Priced per organization, not per seat, so invite everyone. Roles decide who reads, resolves and changes what.

Encrypted before it leaves your server.

Errors and requests carry passwords, tokens and customer data, so PeekInside Cloud never stores them in the clear. Your server encrypts each one, and only your devices can open it.

  1. 1

    Your server

    Encrypts each request with your project's public key

    {"card":"4242 4242 …"}
  2. 2

    PeekInside Cloud

    Stores it as ciphertext it can't open

    v1.BJq8Tz2kLm.r9Qx.F3kZ1aQy7…
  3. 3

    Your browser

    Decrypts it with your key

    {"card":"4242 4242 …"}

Encrypted, opened only on your devices

URLs, headers, bodies, queries, log lines and exceptions: everything about what your app did. Your browser opens it, and so do your AI tools on your computer, with an MCP key.

Readable, for charts and filters

When a request happened, its method, status, duration and sizes, the environment and release names, and its counters (queries, slow queries, N+1s, outgoing calls, log lines, exceptions). Job names and schedules, log levels, and memory and CPU samples.

Standard protection

The default. Signing in unlocks a new browser, so your account key is kept sealed under a key our servers hold, apart from your data.

Advanced protection

One switch on the Security page. Only your own browsers, passkeys and recovery key hold your account key, so the encryption is end to end.

ECDH P-256HKDF-SHA-256AES-256-GCM

Free while you build. From ten dollars when you ship.

The same SDK does both. It keeps a dashboard on your machine while you develop, and switches to the cloud when it finds an API key.

Local

Free, for good. For development, on your laptop.

  • Requests, errors, timelines and queries
  • Every app on your machine in one dashboard
  • Your AI tools, over MCP
  • Nothing leaves your machine, no account

Hobby

For one developer's apps.

$10a month

or $100 a year: two months free

Requests
1M a month
History
14 days
Members
Just you
More requests
$10 per 1M
  • Requests, errors, queries, logs and jobs
  • Every project and server
  • Encrypted on your server
  • Weekly digest
  • AI agent, with token packs

Team

For teams with more traffic.

$59a month

or $590 a year: two months free

Requests
15M a month
History
60 days
Members
Your whole team
More requests
$5 per 1M
  • Everything in Pro, plus:
  • 3M AI agent tokens a month
  • Your AI tools on Cloud projects, over MCP

Business

For companies with large apps.

$99a month

or $990 a year: two months free

Requests
30M a month
History
90 days
Members
Your whole team
More requests
$3 per 1M
  • Everything in Team, plus:
  • 10M AI agent tokens a month
  • Single sign-on and audit logSoon
  • Support SLA
  • Payment by invoice

Every new organization gets 7 days of Hobby free, no card. Need more requests? Top up 1M at a time, for less on bigger plans ($10 on Hobby, $8 on Pro, $5 on Team, $3 on Business). Errors are always recorded, whatever the count.

Common questions.

Anything else? Write to support@peekinside.dev and a person answers, usually within two business days.

What is PeekInside?
A debugging tool for Node.js. Add one line to your app and a dashboard shows every request it handles, with the errors it threw (and your lines of code around them), the database queries it ran, the APIs it called, what it logged and the jobs it ran. The local dashboard is free on your laptop; PeekInside Cloud does the same for your servers, end-to-end encrypted, with alerts and an AI agent. Quick start
Is it like Laravel Telescope, for Node.js?
Yes. Like Telescope, it shows the requests your app handles with their exceptions, database queries, outgoing HTTP calls, log lines, jobs, dumps and emails, in a dashboard you open while you develop. It works with Express, Koa, Fastify, NestJS, Hono and node:http, without a database to set up, and PeekInside Cloud takes the same view to production.
How is it different from a debugger?
A debugger, such as Chrome DevTools or VS Code's, pauses your code at a breakpoint so you can step through it. PeekInside pauses nothing: it records what each request did, so you can look at any request after it happened, the one that failed an hour ago included, and on a server where no debugger is attached. Both are worth having.
What does the AI agent do?
It answers questions about a project from its data in PeekInside Cloud, such as what broke today and why, which routes are slowest, or whether memory is growing, with links to the records behind each answer. It also sets alerts, resolves issues and saves records when you ask, and each change waits for you to confirm it. It's on every plan: Team includes 3M tokens a month and Business 10M, and packs of 10M tokens for $20 work on any plan. The AI agent in the docs
Can my AI coding tool use it?
Yes. npx peekinside mcp is an MCP server: Claude Code, Cursor, VS Code, Windsurf and other AI tools read your app's errors with their stack traces, requests, queries, logs and jobs through it, fix what they find, and replay a request to check the fix. It reads the free local dashboard, and with Team and Business, PeekInside Cloud projects too, through an MCP key, decrypting records on your computer. AI tools (MCP) in the docs
Can it tell us when something breaks?
Yes. Alerts watch requests, exceptions, jobs, logs and the runtime for the conditions you set, and PeekInside tells you on its own when there's a new error, when an app goes down and when a scheduled job misses its run. Each member chooses what reaches them in the app and by email, project by project; email and Slack come with Pro and up. Notifications in the docs
Which frameworks and databases does it work with?
Express, Koa, Fastify, NestJS (on Express or Fastify), Hono (with @hono/node-server) and plain node:http servers, on Node.js 18 or later. Queries are recorded from pg, mysql2, Prisma, MongoDB and Mongoose, and so from the libraries built on them, such as Knex, Sequelize, TypeORM, Drizzle and Kysely.
Which errors does it catch?
Errors thrown in your Express, Koa, Fastify, NestJS and Hono handlers, and crashes: uncaught exceptions and unhandled rejections. Report any other error with PeekInside.report(error). Responses with a 4xx status are how apps answer bad requests, so they aren't recorded as errors. Exceptions in the docs
Does it change how my app handles errors?
No. Your app answers with the same status codes and bodies, and a crash still crashes exactly as before: PeekInside only watches, and saves the crash before the process exits.
Will it slow my app down?
Sending is off the request path: what PeekInside records is queued and sent in batches every second. If PeekInside Cloud can't be reached, batches are retried with backoff, and the queue is bounded, so memory stays flat.
What can PeekInside see of my data?
Messages, stack traces, source lines, URLs, headers, bodies, queries and logs reach us only as ciphertext. We keep what charts and filters need in the clear: timing, method, status, sizes, environment, release and counts. How the encryption works
Is it free? Is it open source?
The local dashboard is free, needs no account and keeps everything on your machine. The SDK, the peekinside package on npm, is MIT-licensed. An account is only for PeekInside Cloud, the paid service for production.
Do I need a card to start with Cloud?
No. Every new organization gets 7 days of Hobby free, without payment details. To keep Cloud after that, choose a plan, from $10 a month. If nobody does, Cloud stops recording and nothing is charged. Try Cloud free
What happens when we use all our requests?
Errors, and the requests they happened in, are always recorded. Other requests wait until the month ends, unless you top up (1M requests at a time, kept for 12 months: $10 on Hobby, $8 on Pro, $5 on Team, $3 on Business) or move to a bigger plan. Owners and admins get an email at 80% and at 100%. A request counts once, with its queries, calls, logs and errors.
Can I cancel?
Whenever you like. You keep PeekInside Cloud until the end of the month you paid for, and we refund your first payment in full if you ask within 7 days of it. Refund policy
How is it priced for a team?
Per organization, not per seat. Hobby is for one person; from Pro at $29 a month, every member of the organization is included. Invite the whole team; the price stays the same.

Find out why it broke.

Add one line to your app, and the next error comes with its whole story.