Skip to content
Public betav0.3.0An open protocol for sites agents can read

Every website, an open door.

Grapheway turns any site into a live knowledge graph and MCP server. Agents can search it, read it, and act on it. No scraping, no account, no API key.

Start here
npx grapheway init

Detects your framework, writes one config, and mounts the surface.

  • 0runtime dependencies
  • 170tests passing
  • GPL-3.0open source
your.siteAgent surface
Sample session
Graph / v14 graph operations
/.well-known/agent/graph/v1/mcp/agent/actions
Initnext.js
$ npx grapheway init

  ✓ grapheway.config.ts
  ✓ middleware.ts
  ✓ app/api/grapheway/route.ts

  Next:
    Run your dev server (e.g. `npm run dev`)
    Open http://localhost:3000/graph to see the live graph
    Point any MCP client at http://localhost:3000/mcp
Works with
  • Claude
  • Cursor
  • VS Code
  • any MCP client
MCP over streamable HTTP and stdio.
The problem

Scraping guesses. A graph cites.

An assistant that needs an answer still downloads the HTML, strips the markup, guesses what matters, and repeats for every page. Your site already knows its own structure. Grapheway lets it say so.

Without grapheway
  • Downloads the HTML
  • Strips the markup
  • Guesses what matters
  • Repeats for every page
With grapheway
  • Asks for the graph
  • Reads typed nodes and edges
  • Cites the path and the snapshot
  • Crawls again on demand

One probe. A whole agent surface.

Real commands, real output. The exact format the CLI writes. Point it at any public site and the same graph, MCP server and actions appear.

probe
$ npx grapheway probe https://expressjs.com

  Probed Express.js (https://expressjs.com)
    pages:    25
    headings: 521
    edges:    1927  (1361 extracted, 566 inferred)
    api:      12 endpoints (https://expressjs.com/openapi.json)

  Serving "Express.js" as an agent surface:
    discovery    http://localhost:4321/.well-known/agent
    graph        http://localhost:4321/graph/v1
    events       http://localhost:4321/graph/v1/events (realtime SSE)
    MCP          http://localhost:4321/mcp

# That legacy site is now an MCP server. Point Claude Desktop
# or Cursor at localhost:4321/mcp and its docs become tools.

Probe output from expressjs.com with default settings. Values differ per site.

No install

Point any streamable HTTP MCP client at this URL and swap the site.

https://grapheway-mcp.usmani3923.workers.dev/mcp?url=https://expressjs.com

Everything an agent needs, already on your site.

Six subpath exports, one package. The core is pure TypeScript and the runtime is four fields in, four fields out. Mount only what you need.

0Runtime dependencies
170Passing tests
14Agent routes
6Subpath exports
Verified against packages/grapheway at v0.3.0.

A default probe of expressjs.com returned 25 pages, 521 headings, 1,927 edges and 12 OpenAPI endpoints.

Technical reference

Or hand it to your agent.

Open your project in Claude Code, Cursor, Codex or any coding agent. Paste one prompt. It inspects the framework, mounts the surface, verifies the endpoints and reports back.

  1. 01Inspect the framework and the project layout.
  2. 02Run init, mount the surface, start the app.
  3. 03Verify discovery, graph and MCP, then run the audit.
Open the full setup guide
Agent prompt
Set up grapheway for this website. Use the environment and tools available to you.

1. Inspect the project and detect the framework: Next.js, Express, Hono, plain Node, or a static host.
2. Run:
   npx -y grapheway@latest init
   If npx is unavailable, use:
   npm exec --yes --package=grapheway@latest -- grapheway init
   bunx grapheway@latest init
   or install the package locally.
3. If the framework is unsupported, run:
   npx -y grapheway@latest init --url <site URL>
   and follow the printed steps.
4. Start the app and verify:
   /.well-known/agent
   /graph/v1
   /mcp
5. Run the audit on the app URL and fix failed checks:
   npx -y grapheway@latest audit <app URL>
6. Report the files you changed, the audit score, and the exact MCP URL.

Use your own judgment for the environment and the project's existing conventions.

Use this with any coding agent. It works with the environment and conventions already in your project.

Hosted demo

No install. Point any MCP client at this URL.

https://grapheway-mcp.usmani3923.workers.dev/mcp?url=https://expressjs.com
Start here

Open the door.

One command. No account. No API key. Your site stays yours.

npx grapheway init

GPL-3.0. Built in the open. No telemetry.