01Error monitoring for Lovable apps

Your AI built it.
Now you need to
watch it live.

The moment your Lovable app ships to production, FlareLog catches every crash, silent API failure, and cost spike — automatically. Then brings the live logs into Lovable Agent so your AI can fix bugs without leaving the chat.

$npm install @flarelog/sdk

// Free up to 10,000 logs/mo · no credit card

flarelog — live logs — my-lovable-appLIVE
nowERRORPOST /checkout failed: database timeout
12sWARNLogin check slow: 310ms
45sINFOGET /dashboard 200 — 88ms
1mERRORErrorBoundary caught in PaymentForm
2 errors2 warnings2 info
last 5m · auto-refresh

100%

of Worker invocations seen

~3

lines of code to install

2 min

to first log in your dashboard

7–90 d

retention (free → Pro)

02Zero config

Install once.
Everything else is automatic.

You don't have to wrap every function. The moment you add FlareLog, it watches your app end-to-end — frontend errors, API errors, and console logs — and sends them to your dashboard automatically.

auto

Frontend crashes

React errors, broken buttons, blank screens — anything that breaks in the browser is captured with the stack trace.

auto

API / backend errors

Failed login calls, checkout timeouts, database hiccups — FlareLog catches server errors without you writing a single log line.

auto

AI debugging

Connect FlareLog to Cursor, Claude, Lovable, or your favorite AI with the MCP server. Ask "why did /checkout fail?" and get a real answer.

manual

Structured logs

Call logger.info() anywhere to add extra context your AI can query later.

03What you get

Everything a vibe coder needs
to survive production

Core

Real-time error logs

Every unhandled exception, console.error, and warning streamed instantly to your FlareLog dashboard with full stack traces. No more guessing.

Money

Cost burn alerts

Get emailed the second your app's backend usage starts spiking. No more surprise bills at the end of the month. Set a threshold and sleep easy.

AI-Native

MCP server for AI editors

Connect FlareLog's MCP server to Lovable, Cursor, or Claude Desktop. Your AI reads your production logs in-context and fixes bugs without leaving your editor.

Lovable

React SDK — zero config

One npm install and three lines of code. Works natively with the stack Lovable generates for you. No DevOps needed.

TanStack

TanStack Start support

Full SDK support for TanStack Start server functions and API routes. Instrument your full-stack app with the same three lines.

Search

Log explorer with full search

Filter by level, worker, time range, or trace ID. Click any log to expand the full structured payload and stack trace. Designed for speed.

04How it stacks up

Simple wins over powerful.
For most Lovable apps.

If you want session replay and deep JS profiling, Sentry is excellent. If you want error monitoring that works in 2 minutes and an AI that can read your live logs, FlareLog is for you.

Capability
FlareLog logoFlareLog
Sentry
Catches server errors, not just browser errors
Yes — frontend + API errors in one place
Mostly frontend unless you wire backend manually
Works out of the box with Lovable / TanStack Start
Yes — install the SDK and it just works
Needs manual backend setup
MCP server + AI skill for Cursor / Claude / Lovable
Yes — AI reads live logs in-context
No — browser-tab workflow only
Free tier (events / month)
10,000 logs
5,000 error events
Log retention on free tier
7 days
30 days
Setup time for a Lovable stack
~3 lines, under 2 minutes
~15 lines + transport + source maps
Session replay & user sessions
Not today
Yes (premium)
Performance profiling
Speed metrics for every request
Yes — deep language profiling
Source map upload & symbolication
Coming
Yes, mature

01

Catches what browser tools miss

Browser error trackers only see frontend crashes. FlareLog also captures server errors from your API routes, server actions, and database calls — the failures that actually break your app.

02

No setup, no DevOps

One npm install and three lines of code. No config files, no infrastructure, no manual wrapping. If you can paste a snippet into Lovable, you can use FlareLog.

03

AI debugs prod inside your editor

The FlareLog MCP server and public skill repo let your AI read live logs and answer "why did /checkout fail?" without leaving the editor.

05AI-Native Debugging

Your AI broke prod.
Connect it to prod — and let it fix it.

FlareLog's MCP server connects your production logs directly to Lovable Agent, Cursor, Claude Desktop, or Windsurf. Your AI can read real errors, filter by route, and suggest fixes — all without opening a browser tab.

  • Works natively in Lovable — add via Connectors in one click
  • Paste config once in Cursor / Claude Desktop, works forever
  • AI reads live logs in full context
  • Ask "why did /checkout fail?" and get a real answer
  • Download the FlareLog skill repo for AI editor snippets
Lovable Connectors/Add MCP server
🟢 MCP Active

Add MCP Server to Lovable Agent

Connect FlareLog to let Lovable Agent read live errors and traces directly in your prompt chat.

FlareLog
https://mcp.flarelog.dev

// Authentication Method

fl_live_key_hereGet key in /login

↑ Connectors → Add MCP server — no JSON, no terminal.

06Get started

From zero to prod monitoring
in under 5 minutes

1

Install the SDK

Run npm install @flarelog/sdk in your Lovable or TanStack Start project. It works with the stack Lovable already generates for you.

2

Add three lines of code

Import flarelog and call it with your API key. Console errors and unhandled exceptions are captured automatically — no wrapping needed.

3

Get your API key

Sign up free at flarelog.dev/login. Create a project, copy your key, done.

4

Connect the MCP server (optional)

In Lovable: open Connectors → Add MCP server, use https://mcp.flarelog.dev and paste your API key as the bearer token. In Cursor / Claude Desktop: paste the JSON config from the tab above.

App.tsx
// 1. Install the SDK
npm install @flarelog/sdk

import { flarelog } from "@flarelog/sdk";
import { FlareLogErrorBoundary, useFlareLog } from "@flarelog/sdk/react";

const logger = flarelog({ apiKey: process.env.VITE_FLARELOG_API_KEY, });

// Error Boundary
<FlareLogErrorBoundary logger={logger}>
  <App />
</FlareLogErrorBoundary>
07FAQ

Questions vibe coders
actually ask

Do I have to replace Sentry?

No — FlareLog and Sentry can run side-by-side. Many users keep Sentry for client-side session replay and use FlareLog for server errors and AI debugging. If you're a Lovable user just shipping your first app, FlareLog alone is usually enough.

Will the SDK slow down my app?

The SDK adds sub-millisecond overhead per request. It batches and flushes logs asynchronously, so your users won't notice.

What if my backend API crashes before the SDK runs?

FlareLog captures failures at multiple layers, so even if something goes wrong before your code can log it, the error still shows up in your dashboard with the route, status, and any available context.

Does this work with Lovable's free tier?

Yes. FlareLog itself has a free tier (10,000 logs/month) that's larger than most Lovable apps will ever need. No credit card, no DevOps experience required.

Can my AI actually fix bugs from the logs?

Yes — connect the MCP server to Lovable, Cursor, or Claude Desktop and ask things like "why did /checkout fail in the last hour?" or "show me every database timeout this week." The AI gets back the structured log payloads and can suggest code fixes in-context.

What stacks are supported?

React, TanStack Start, and any setup Lovable exports. The React SDK ships an ErrorBoundary built for Lovable's generated stack. TanStack Start has a dedicated middleware. You can also use the raw SDK in custom server code.

08Start today

Vibe code freely.
Ship with confidence.

No credit card, no DevOps experience required. Made for people who build with AI, not for people who configure Kubernetes.