O

Ownsearch

by devops-infinity · io.github.devops-infinity/ownsearch

Enables federated web search and page extraction through a self-hosted MCP/HTTP server that discovers, scores, and rotates across a fleet of public SearXNG instances, failing over to healthy ones and attributing each result to its source instance and engine. It also fetches public pages as Markdown, text, or HTML with optional headless-browser rendering, same-host crawling, PDF parsing, and redirect reporting.

cargo Local · stdio GlamaOfficial MCP Registry High confidence

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
OWNSEARCH_STATE_DIR No Directory for instances.db, the snapshot, events, and backups. Default: ${XDG_STATE_HOME}/ownsearch
OWNSEARCH_HTML_FALLBACK No HTML probe and fallback. Default: true
OWNSEARCH_BIND No HTTP bind address. Default: 127.0.0.1:8774
OWNSEARCH_HTTP No Serve Streamable HTTP instead of stdio. Default: false
OWNSEARCH_BROWSER No Render JavaScript pages in headless Chrome. Default: true
OWNSEARCH_OFFLINE No Skip discovery and use local state only. Default: false
OWNSEARCH_PROFILE No Path to the TOML profile.
OWNSEARCH_FLEET_MAX No Maximum fleet size. Default: 12
OWNSEARCH_FLEET_MIN No Minimum fleet size. Default: 6
OWNSEARCH_AI_DB_MODE No read-only or read-write. Set read-only to refuse all typed database changes. Default: read-write
OWNSEARCH_LEDGER_DIR No Directory for calls.jsonl, its archives, and args.key. Default: ${XDG_DATA_HOME}/ownsearch/ledger
OWNSEARCH_LOG_FORMAT No text or json. Logs go to stderr only.
OWNSEARCH_RESULT_CAP No Default result limit and the ceiling on a call's limit, from 1 to 100. Default: 25
OWNSEARCH_KEEP_WINDOW No How long to keep ledger archives, event lines, and pre-migration backups. Accepts 90s, 15m, 2h, 3d, or plain seconds. Default: 3d
OWNSEARCH_ROUND_ROBIN No Rotate the starting instance. Default: true
OWNSEARCH_BROWSER_PATH No Chrome or Chromium executable. Empty uses auto-detection.
OWNSEARCH_ALLOWED_HOSTS No Comma-separated Host values for HTTP mode.
OWNSEARCH_BEARER_TOKENS No Comma-separated bearer tokens, each at least 32 characters.
OWNSEARCH_CERT_MIN_DAYS No Certificate lifetime gate in days. Default: 14
OWNSEARCH_COOLDOWN_SECS No Cooldown after a rate limit, a challenge, or a search failure. Default: 3600
OWNSEARCH_DISCOVERY_URL No Discovery source. Default: https://searx.space/data/instances.json
OWNSEARCH_WATCHDOG_SECS No How long the process may go without progress before it exits with code 75, from 0 to 3600; 0 turns it off. Default: 120
OWNSEARCH_CACHE_TTL_SECS No How long a cached answer stays fresh. 0 turns the cache off. Default: 300
OWNSEARCH_EXHAUSTIVE_MAX No Instances in exhaustive mode. Default: 16
OWNSEARCH_SCAN_JITTER_MS No Random delay between probes, up to this many milliseconds. Default: 250
OWNSEARCH_ALLOWED_ORIGINS No Comma-separated Origin values for HTTP mode.
OWNSEARCH_GOOGLE_REQUIRED No Exact Google as a hard gate. Default: false
OWNSEARCH_MAX_PER_NETWORK No Instances per announced network prefix. Default: 2
OWNSEARCH_SEARCH_ATTEMPTS No Attempts per instance, 1 to 5. Default: 3
OWNSEARCH_SEARCH_FAILOVER No Fail over to the next instance. Default: true
OWNSEARCH_SCAN_CONCURRENCY No Parallel probes, 1 to 8. Default: 4
OWNSEARCH_BROWSER_IDLE_SECS No How long an idle browser stays open, from 30 to 3600. Default: 120
OWNSEARCH_PROMOTE_SUCCESSES No Good scans needed to promote. Default: 2
OWNSEARCH_BROWSER_NO_SANDBOX No Pass --no-sandbox, required inside a container that cannot set the sandbox. Default: false
OWNSEARCH_MAX_UPSTREAM_BYTES No Response body cap in bytes. Default: 4194304
OWNSEARCH_PROBATION_FAILURES No Failed scans needed to demote to probation. Default: 2
OWNSEARCH_PROBE_TIMEOUT_SECS No Per-request timeout for each probe step. Default: 15
OWNSEARCH_SCAN_DEADLINE_SECS No Whole-scan deadline in seconds, from 30 to 7200. Default: 600
OWNSEARCH_SEARCH_QUEUE_LIMIT No Searches allowed to wait for a slot. Default: 64
OWNSEARCH_FETCH_DEADLINE_SECS No Whole-fetch deadline in seconds, from 5 to 600, including followed links and a browser render. Default: 60
OWNSEARCH_QUARANTINE_FAILURES No Failed scans needed to quarantine. Default: 4
OWNSEARCH_CONNECT_TIMEOUT_SECS No Connect timeout in seconds. Default: 5
OWNSEARCH_REQUEST_TIMEOUT_SECS No HTTP client timeout in seconds. Default: 30
OWNSEARCH_SEARCH_DEADLINE_SECS No Whole-search deadline in seconds. Default: 30
OWNSEARCH_BROWSER_WATCHDOG_SECS No How often the browser this process launched is checked for an answer, from 5 to 600. Default: 30
OWNSEARCH_SEARCH_MAX_CONCURRENT No Searches that run at once. Default: 8
OWNSEARCH_AI_DB_CONFIRM_TTL_SECS No Confirmation lifetime in seconds. Default: 120
OWNSEARCH_DISCOVERY_REFRESH_SECS No Discovery refresh window in seconds. Default: 21600
OWNSEARCH_SCAN_MIN_INTERVAL_SECS No Minimum gap between two writing scans on the same state database, from 0 to 3600. Default: 30
OWNSEARCH_SEARCH_QUEUE_WAIT_SECS No How long a queued search waits before it answers ownsearch.rate_limited. Default: 30
OWNSEARCH_AI_DB_MIN_INTERVAL_SECS No Minimum gap between applies in seconds. Default: 2
OWNSEARCH_ALLOW_PRIVATE_INSTANCES No Accept loopback and private addresses for discovery records, probes, search, and fetch. Default: false
OWNSEARCH_BROWSER_MAX_LIFETIME_SECS No How long one browser session may live before it is replaced, from 60 to 86400. Default: 1800
OWNSEARCH_MAINTENANCE_INTERVAL_SECS No How often the running server runs the cleaner, minimum 60, maximum 86400. Default: 3600
OWNSEARCH_AI_DB_MAX_CHANGES_PER_CALL No Field changes per call. Default: 5

Similar servers