Skip to main content
Glama

KAGE MCP — Lightweight HTML Parsing for AI Agents

kage-mcp is a JSON-RPC MCP server that parses HTML, fetches URLs, renders terminal-style screenshots, and executes JavaScript on static HTML. It is packaged as a single 92MB executable — no Python, no Node.js, no browser required.

Quick Start

Install

pip install kage-mcp

Or download kage-mcp.exe from GitHub Releases.

Run

kage-mcp

Then configure in your MCP client (Cline, Claude Desktop, etc.):

{
  "mcpServers": {
    "kage": {
      "command": "kage-mcp",
      "args": []
    }
  }
}

Manual Test

# List tools
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | kage-mcp

# Parse HTML
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"kage_parse_html","arguments":{"html":"<h1>Hello</h1>","selector":"h1"}}}' | kage-mcp

# Fetch URL
echo '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"kage_fetch_url","arguments":{"url":"https://example.com","selector":"h1"}}}' | kage-mcp

Related MCP server: servo-fetch

Tools

Tool

Description

kage_parse_html

Parse an HTML string and extract structured data

kage_fetch_url

Fetch a URL and extract structured data from the response

kage_render

Render HTML to a terminal-style PNG image (green-on-black monospace)

kage_execute_js

Execute JavaScript code against a DOM context and return the result

Limitations

KAGE is an HTML parsing engine, not a full browser:

  • ❌ Does not execute external JavaScript from <script src="..."> tags

  • ❌ Does not render SPAs (React, Vue, Angular)

  • ❌ Screenshot output is terminal-style (green-on-black monospace), not pixel-perfect

  • ❌ No WebSocket / WebGL / Canvas support

  • ❌ Fetch is HTTP-only (no HTTPS cert validation bypass)

What it can do:

  • ✅ Parse any HTML string into structured JSON

  • ✅ Fetch URLs and extract content via CSS selectors

  • ✅ Execute inline JS on a parsed DOM (no network requests)

  • ✅ Works as a drop-in MCP server — no extra dependencies

Requirements

  • Windows 10+ (64-bit)

  • No Python, Node.js, or browser needed

License

MIT

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Servo-powered MCP server for JS-aware web fetching, content extraction, crawling, and software-rendered screenshots — Chromium-free single binary.
    6
    136
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for web fetching and automation using Chromium headless browser. Enables fetching pages as markdown, taking screenshots, automating interactions, and extracting data via CSS selectors.
    5
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    A portable MCP server that scrapes SPA/JS-rendered webpages and extracts structured API endpoint data. It uses headless Chromium to render JavaScript and provides tools for scraping, endpoint extraction, screenshots, and database seeding.
    4
    1

View all related MCP servers

Related MCP Connectors

  • Screenshot and HTML render MCP server for AI agents

  • Free remote MCP server for fetching public web pages through a rotating proxy pool.

  • MCP server for understanding Javascript internals from ECMAScript specification.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lxyct825-ops/kage-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server