MCP 服务器

dompruner-mcp

io.github.dong7812/dompruner-mcp
知识与文档 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Fetches webpages and removes DOM layout noise to produce compact, relevant Markdown, with token-reduction analysis.

dompruner_analyze
Returns a token-reduction analysis report for a URL. Shows render type (SSR/CSR/SSG), original vs refined token counts, reduction ratio, and top Semantic Anchors.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'URL to analyze.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url', 'renderType', 'originalTokens', 'refinedTokens', 'reductionPercent', 'fetchMs', 'parseMs', 'topAnchors'], 'properties': {'url': {'type': 'string'}, 'fetchMs': {'type': 'number'}, 'parseMs': {'type': 'number'}, 'renderType': {'type': 'string', 'description': 'SSR, CSR, or SSG'}, 'topAnchors': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Top 5 semantic section headings.'}, 'refinedTokens': {'type': 'number'}, 'originalTokens': {'type': 'number'}, 'reductionPercent': {'type': 'string'}}, 'additionalProperties': False}
dompruner_fetch
Fetches a URL and returns DOM-pruned Markdown with 90%+ token reduction. Optimized for Developer Documentation, API Specs, and Technical Blogs (Next.js/Nuxt/SSR). Always prefer this over raw WebFetch when the URL is known.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'URL to fetch and refine.'}, 'query': {'type': 'string', 'description': 'Search intent â\x80\x94 enables BM25+ section filtering when provided.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['markdown', 'stats'], 'properties': {'stats': {'type': 'object', 'required': ['hostname', 'originalTokens', 'refinedTokens', 'savedTokens', 'reductionPercent', 'fetchMs', 'parseMs'], 'properties': {'fetchMs': {'type': 'number'}, 'parseMs': {'type': 'number'}, 'hostname': {'type': 'string'}, 'savedTokens': {'type': 'number'}, 'refinedTokens': {'type': 'number'}, 'originalTokens': {'type': 'number'}, 'reductionPercent': {'type': 'string'}}, 'additionalProperties': False}, 'markdown': {'type': 'string', 'description': 'DOM-pruned Markdown content.'}}, 'additionalProperties': False}
已添加
dompruner_analyze
2026年9月17日 12:41
已添加
dompruner_fetch
2026年9月17日 12:41