bayxa-mcp-server
v1.1.0Official MCP server for Bayxa AI: web reader, live search, screenshots/PDFs, and llms.txt audits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
bayxa_web_reader Bayxa Web Reader
Fetch any webpage and return clean LLM-ready content: Markdown (default), HTML, cleaned HTML, plain text, links, images and screenshots. Uses smart hybrid routing (fast HTTP first, pre-warmed Chromium for JavaScript-heavy or anti-bot pages). Optionally run structured LLM extraction over the page with a JSON Schema. Use this when you need the actual content of a URL rather than a search snippet.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to read. |
actions | array | Browser interactions, e.g. [{'type':'scroll_bottom'}]. |
device | string | Device profile: desktop (1920x1080) or mobile (390x844). |
exclude_tags | array | Deny-list of HTML tag names to remove. |
extract | object | Run LLM structured extraction and return data.extracted_json. |
formats | array | Output formats. Defaults to ['markdown']. |
headers | object | Extra HTTP headers sent to the target site. |
include_tags | array | Allow-list of HTML tag names to keep. |
max_age | integer | Cache TTL in seconds. 0 bypasses the cache. |
only_main_content | boolean | Keep only the main article content (default true). |
render_js | 'auto' (default) tries HTTP then falls back to Chromium; true forces the browser; false forces HTTP only. | |
timeout_ms | integer | Maximum render time in milliseconds. |
wait_for | string | CSS selector to wait for before capturing (browser path only). |
wait_ms | integer | Fixed delay in milliseconds after page load (browser path only). |
bayxa_ai_auditor Bayxa AI Readiness & llms.txt Auditor
Audit how AI-ready a webpage is. Checks AI crawler access in robots.txt, the presence and quality of /llms.txt, main-content extractability, metadata quality, structured data (JSON-LD, microdata, OpenGraph, RDFa) and semantic structure. Returns a weighted score from 0 to 100, an A-F grade, per-check details and prioritized fixes. Use this to diagnose why an AI agent may struggle to read or cite a site.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL of the page to audit. |
max_age | integer | Cache TTL in seconds. 0 bypasses the cache. |
bayxa_web_search Bayxa AI Web Search
Search the live web or the latest news through a self-hosted SearXNG engine. Returns titles, URLs, snippets and a ready-to-paste `llm_context` block for grounding. Set scrape_top_n to 1-3 to fetch the top result pages and attach their full Markdown. Use this whenever you need fresh facts, sources or citations beyond your training data.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query (plain text, 1-500 characters). |
category | string | Search category (web search only). |
kind | string | 'web' (default) for general search or 'news' for fresh news results. |
language | string | Preferred result language. |
max_age | integer | Cache TTL in seconds. 0 bypasses the cache. |
max_results | integer | Maximum number of results (1-20, default 10). |
safesearch | integer | SafeSearch: 0=off, 1=moderate, 2=strict. |
scrape_top_n | integer | RAG grounding depth: scrape the top N pages and attach their Markdown (0-3). |
time_range | string | Only return results published within this time range. |
bayxa_screenshot Bayxa Web Screenshot & PDF Generator
Capture any webpage as a PNG, JPEG or WebP image (full-page or a single CSS element) or render a webpage / raw HTML into a print-ready PDF. Supports desktop and mobile profiles, device scale factor, dark mode, ad/tracker blocking, cookie-banner hiding and pre-capture interactions. Set output_type='pdf' for documents. Screenshots are returned as image content unless output_path is provided.
| Parameter | Type | Description |
|---|---|---|
actions | array | Browser interactions, e.g. [{'type':'scroll_bottom'}]. |
block_ads | boolean | Block advertising, analytics and tracking requests. |
dark_mode | boolean | Force the page to render in dark mode. |
device | string | Device profile: desktop (1920x1080) or mobile (390x844). |
device_scale_factor | number | Device pixel ratio (0.5-3.0, default 1). |
format | string | Screenshot image format (default png). |
full_page | boolean | Capture the full scrollable page (default true). |
headers | object | Extra HTTP headers sent to the target site. |
hide_cookie_banners | boolean | Hide cookie-consent popups before capture. |
html | string | Raw HTML to render as PDF (ignored when url is also supplied). |
landscape | boolean | Render the PDF in landscape orientation. |
margin_mm | integer | Uniform PDF page margin in millimetres (default 10). |
max_age | integer | Cache TTL in seconds. 0 bypasses the cache. |
output_path | string | Optional filesystem path to save the binary output. When omitted, screenshots are returned as image content and PDFs are written to the OS temp directory. |
output_type | string | 'screenshot' (default) or 'pdf'. |
paper_format | string | PDF paper format (default A4). |
print_background | boolean | Include page background colours and images in the PDF. |
quality | integer | Compression quality for jpeg/webp (1-100). |
selector | string | Capture only the element matching this CSS selector. |
timeout_ms | integer | Maximum page load time in milliseconds. |
url | string | Absolute http(s) URL to capture. Required for screenshots. |
wait_for | string | CSS selector to wait for before capturing. |
wait_ms | integer | Fixed delay in milliseconds after page load (max 30000). |