FrameParse MCP Server
4-layer webpage frames + MCP observe/act for agents. Fewer tokens than raw HTML. CDP refs.
FrameParse scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 11 tools. Filed under Browser automation. GitHub shows 0 stars. Package registries report about 316 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
84/100 for listing completeness. Lost points: 6 of 11 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "rajkavadia-frameparse": { "command": "npx", "args": [ "-y", "frameparse@0.2.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools11Tool docs quality grade D
All capabilitiesframe_acttoolExecute action by ref or goal
frame_browsertoolCDP connect/launch/navigate/open snapshot
frame_chaintoolMulti-step chain or presets
frame_difftoolPost-action delta; optional outcome cache
frame_inspecttoolLineage for any s#/t#/i#/w#/a#
frame_opentoolParse once; return Frame 1 + sessionId
frame_plantoolGoal → ranked actions/workflows
frame_querytoolCross-layer keyword search
frame_readtoolBudgeted layer read (maxTokens, pagination)
frame_scrolltoolScroll by ref or delta
frame_sessionstoolList/close sessions + telemetry
About
FrameParse
Homepage: https://github.com/RajKavadia/frameparse · Privacy: PRIVACY.md · Install: llms-install.md
Progressive, zero-LLM webpage observations for AI agents — Structure → Text → Interactables → Actions.
Most browser agents still dump megabytes of HTML into context. FrameParse parses a page once (milliseconds, no model calls), returns a compact landmark map first, then lets agents pull only the layers they need via MCP, HTTP, CLI, or the TypeScript library.
git clone https://github.com/RajKavadia/frameparse.git && cd frameparse
npm install && npm run build && npm test
node dist/src/cli.js tests/fixtures/ecommerce.html --layer 1 --stats
npm run visualizer # http://127.0.0.1:4173 — 3D stack + MCP at /mcp
| Goal | Start here |
|---|---|
| Cursor / Claude MCP | mcp.json.example → node dist/src/cli.js mcp |
| Smallest first read | frame_open → Frame 1 only (~90–250 tok on fixtures) |
| Find a fact on the page | frame_query or region-scoped frame_read |
| Plan a click/fill flow | frame_plan → workflows w# + steps (use your browser runner) |
| After a mutation | frame_diff — delta, not full re-parse |
| Multi-step in one call | frame_chain or POST /api/chain |
Benchmarks (reproducible): run npm run benchmark — see docs/BENCHMARKS.md. On a synthetic 251 KB SPA fixture: Frame 1 196 tok vs 64,257 tok raw (~328× on the structure layer); MCP “open + query” 447 tok vs 64,257 raw in the harness.


What it is (and is not)
FrameParse is an observation and planning layer: deterministic HTML/DOM → cross-linked frames + MCP session cache + zero-AI planAction.
Optional CDP actuation: MCP tools frame_browser, frame_act, and frame_scroll connect to Chrome DevTools Protocol (Playwright/Puppeteer-backed driver) to click, fill, and scroll by Frame refs, then frame_diff by default. For parse-only workflows, use static HTML, URL fetch, or the MCP resource frameparse://browser-extractor.js snapshot with frame_open.
Four frames
- Frame 1 — Structure (
s#) — Landmarks, heading outline, repeated-card folding, region counts. - Frame 2 — Text (
t#) — Readable blocks anchored to@s#; strips script/style/hidden noise. - Frame 3 — Interactables (
i#) — Controls with names, states, options, selectors. - Frame 4 — Actions (
w#,a#) — Workflows, effect tiers (read|navigate|mutate|destructive), planner, diff.
Architecture
flowchart TB
subgraph inputs [Inputs]
URL[URL fetch]
HTML[HTML string]
SNAP[Live DOM snapshot]
end
subgraph core [Zero-AI parser]
P[HTML/DOM adapter]
F1[Frame 1 Structure]
F2[Frame 2 Text]
F3[Frame 3 Interactables]
F4[Frame 4 Actions]
end
subgraph agent [Agent interfaces]
MCP[MCP stdio and HTTP /mcp]
CHAIN[frame_chain and /api/chain]
CLI[CLI and library]
VIZ[3D visualizer]
end
URL --> P
HTML --> P
SNAP --> P
P --> F1 --> F2 --> F3 --> F4
F1 --> MCP
F4 --> MCP
MCP --> CHAIN
F1 --> VIZ
CLI
node dist/src/cli.js tests/fixtures/ecommerce.html --layer 2 --region s4
node dist/src/cli.js tests/fixtures/ecommerce.html --plan "add to cart"
node dist/src/cli.js tests/fixtures/dashboard.html --diff tests/fixtures/dashboard-after.html
node dist/src/cli.js chain --preset orient_and_plan --fixture ecommerce --goal "add to cart"
npm run visualizer
3D visualizer
Open http://127.0.0.1:4173 after npm run visualizer: orbit stacked layers, peel upper frames, X-ray lineage from any card, try the built-in zero-AI planner on sample pages.
Library
import { FrameSession, parsePageFrames, executeToolChain } from "frameparse";
const session = new FrameSession(html, { url: "https://example.com" });
const frame1 = session.getStructure();
const matches = session.plan("add to cart", { allowDestructive: false });
Cursor plugin
Install from plugins/frameparse (see plugins/frameparse/.cursor-plugin/plugin.json) for bundled MCP config, rules, and skills.
MCP server (11 tools)
| Tool | Purpose |
|---|---|
frame_open | Parse once; return Frame 1 + sessionId |
frame_query | Cross-layer keyword search |
frame_read | Budgeted layer read (maxTokens, pagination) |
frame_plan | Goal → ranked actions/workflows |
frame_inspect | Lineage for any s#/t#/i#/w#/a# |
frame_diff | Post-action delta; optional outcome cache |
frame_sessions | List/close sessions + telemetry |
frame_chain | Multi-step chain or presets |
frame_browser | CDP connect/launch/navigate/open snapshot |
frame_act | Execute action by ref or goal |
frame_scroll | Scroll by ref or delta |
Chains: MCP frame_chain, HTTP POST /api/chain, CLI chain. Presets: orient_and_plan, query_then_inspect, plan_and_inspect, action_and_observe. Variables: $sessionId, $prev.ref, $steps.<alias>.actionId.
{
"mcpServers": {
"frameparse": {
"command": "node",
"args": ["/absolute/path/to/frameparse/dist/src/cli.js", "mcp"]
}
}
}
Streamable HTTP: POST http://127.0.0.1:4173/mcp while the visualizer is running.
Agent skill: skills/frameparse/SKILL.md.
FAQ
Does FrameParse click buttons? No — it returns selectors and steps; you execute them elsewhere.
Are token counts exact for GPT/Claude? No — estimateTokens is a fast heuristic; use benchmarks for relative savings.
Can it log into sites via MCP URL fetch? Not with cookies/auth; use a live DOM snapshot from a browser you control.
Is there an npm package? npm install frameparse then npx frameparse mcp (see llms-install.md).
Limitations
Heuristic action inference (confirm destructive with users). Server-side frame_open URL fetch should run in trusted environments (SSRF). Early OSS — contributions welcome; see CONTRIBUTING.md.
License
MIT — see LICENSE.
Frequently asked questions
What is FrameParse MCP Server?
4-layer webpage frames + MCP observe/act for agents. Fewer tokens than raw HTML. CDP refs.
How do I install FrameParse MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. FrameParse MCP Server runs locally from the npm package frameparse with the command npx -y frameparse@0.2.0.
Is FrameParse MCP Server free and open source?
Yes. FrameParse MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does FrameParse MCP Server support remote (HTTP) connections?
No remote endpoint is listed for FrameParse MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does FrameParse MCP Server provide?
FrameParse MCP Server provides 11 tools, including frame_act, frame_browser, frame_chain, and frame_diff. See the full tool list for descriptions and parameters.
How is FrameParse MCP Server's trust score calculated?
FrameParse MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.