Agent♥︎Age
Catalog

dompruner-mcp

Official2 toolsLive

by dong7812 · TypeScript

Strips layout noise via DOM AST; with a query, BM25 filters to relevant sections. No model or API.

io.github.dong7812/dompruner-mcp MCP Server

This MCP server strips layout noise from web content by using a DOM AST workflow. With a query, it applies BM25 filtering to select relevant sections. It is described as a DOM AST middleware for LLM web pipelines that passes original text directly and avoids an extra built-in HTML summarization step.

🛠️ Key Features

  • Strips layout noise via DOM AST (e.g., nav, scripts, sidebars)
  • Query-based relevance filtering using BM25
  • Returns original content directly (not re-summarized)

🚀 Use Cases

  • LLM web pipelines where HTML contains non-content layout elements
  • Token-reduction and cleaner inputs for web-scraping and RAG workflows

⚡ Developer Benefits

  • Reduced “interpretation” and “latency, cost” associated with pre-processing/summarization
  • More direct passage of original text into the model

⚠️ Limitations

  • Requires DOM AST parsing and optional query + BM25 selection as part of the pipeline

Topics

llm-toolsmcp-servermodelcontextprotocoltoken-reductionweb-scrapingdom-astbm25llmrag

Related servers

More in Search & Web