Purpose
Loupe is an open-source embeddable visual feedback tool for pinning comments on live web pages and handing that feedback to AI agents (such as Claude Code) for processing via MCP (Model Context Protocol, a standard that lets agents call external tools). It is designed to turn visual feedback into an actionable task list.
Main capabilities
- Pin feedback in the right place: You can comment on a single element, drag out a region, or leave a free-form note on the page. After redeployment, Loupe will find the same element again, and the comment can be re-anchored even if its markup changes.
- Capture what you see: You can attach a screenshot of a region or a short screen recording. Marked
data-loupe-redactelements are excluded from every screenshot. Screen recordings capture real pixels, including obscured elements. - Threaded discussion: You can reply under each comment, @mention teammates, and react with 👍 🎉 👀 🙏 ❤️ 🚀.
- Five-stage kanban triage: Comments can move between five stages: Queue, To Do, In Progress, In Review, and Resolved.
- Hand off to-dos to agents:
@loupekit/mcpThe server provides 19 tools for Claude Code, includinglist_comments、get_comment、propose_changeandupdate_status. The Laravel package comes with an MCP server after installing the optionallaravel/mcppackage, providing these 4 core tools (php artisan mcp:start loupe). - Run inside Laravel:
loupekit/laravelThe package stores comments in the database, uses your authentication and gates, and serves the kanban on your routes. - Route work items between applications: Loupe Hub is a separately hosted server that can send comments from one project to another project in the same organization (a group of projects in the Hub), and sync status changes and replies in both directions.
How to use
Quick start
This quick start runs a local server, leaves a comment on the demo page, and displays it on the kanban.
Prerequisites:
- Node 24. The local server directly uses
node index.tsto run its TypeScript files, which requires Node 24. Runnode --version, and you should see v24 followed by a minor version number. - npm, provided with Node.
- git, used to clone the repository.
Steps:
-
Clone the repository and enter the directory:
git clone https://github.com/mohamed-ashraf-elsaed/loupe.git cd loupeAll subsequent commands are run from this folder.
-
Install workspace dependencies:
npm installYou should see npm end with a
added ... packagessummary. -
Build the packages:
npm run buildYou should see the command complete with no lines starting with
npm error. -
Create the demo project:
npm run seedYou should see
Seeded project: pk_demo_acme, followed by a line with the admin key. The admin key is the project key. The dashboard will ask for it in its address. Its default value issk_demo_acme_0f3b9c. -
Start the server:
npm startYou should see:
[loupe] API + static on http://localhost:8787 (dashboard: /dashboard/ · demo: /demo/). Keep this terminal running. -
Open
http://localhost:8787/demo/in the browser. You should see the Q3 Performance Overview page, with the Loupe panel open on the right and a short tour. Click Next to complete the tour, then click Done. -
Leave a comment: on the panel's Home tab, click
✛ Pin feedback on this page. Click the Send invite button in the invitation form. Enter a title and description, then click Comment. You should see a pin numbered 1 appear on the Send invite button. -
Open the kanban in a new browser tab:
http://localhost:8787/dashboard/?key=<ADMIN_KEY>, set<ADMIN_KEY>Replace with the admin key printed in step 4npm run seed. You should see the board contains five columns: Queue, To Do, In Progress, In Review, and Resolved. Your comment is a card in the Queue column.
Troubleshooting
- Follow the full walkthrough, which also includes connecting Claude Code: Leave your first comment locally.
- Add Loupe to your own app using one of the guides in Choose how to install.
Documentation Index
- The Loupe guide
- Contributing to Loupe
When to Use
- Visual feedback collection and triage on live web pages.
- Handing frontend UI feedback directly to AI agents (such as Claude Code) for processing.
- Integrating comment storage, authentication, and a board in a Laravel application.
- Routing and syncing tickets across multiple projects.
Limitations
- The local server requires Node 24.
- Screen recording captures real pixels, including obscured elements, so
data-loupe-redactwill not hide elements in screen recording. - The Laravel package requires installing the optional
laravel/mcppackage to provide the MCP server. - Loupe Hub needs to be hosted separately.
Author and License
Loupe is created and maintained by Mohamed Ashraf Elsaed.
- LinkedIn: mohamedashrafelsaed
- GitHub: @mohamed-ashraf-elsaed
- Email: m.ashraf.saed@gmail.com
MIT © Mohamed Ashraf Elsaed. See LICENSE.