Repository navigation
Project Tracker
Pummelchen edited this page Sep 11, 2026
·
113 revisions
Status of work on MCPSearch. Updated after each push.
Last updated: commit 15eeac5 — "Fix error misattribution, silent provider
fallback and double discount".
Legend: ✅ done · 🔧 open ·
- ✅ Swift 6.3.3 package, strict concurrency (language mode 6), zero build warnings.
- ✅ MCP stdio server on SDK 0.12.1 with
web_search,web_open,web_search_status. - ✅
SearchProviderabstraction; MCP layer knows nothing about any vendor. - ✅ Weighted Reciprocal Rank Fusion with per-domain diversity capping.
- ✅ Deterministic URL canonicalization used as the dedup key.
- ✅ Circuit breakers, token-bucket rate limiting, retry with jitter, response caching.
- ✅ Three-layer SSRF defence for
web_open(lexical, resolution, per-hop redirect). - ✅ Nine search adapters plus Jina, each verified against live provider documentation.
- ✅ Reconciliation with the GitHub repository: MIT
LICENSEpreserved, README retitled to match the repo, branch renamed tomain, pushed. - ✅ No token stored in
.git/config; pushes authenticate through the keychain.
- ✅
web_openno longer blames a search provider for fetch failures (SearchError.fetchFailed). - ✅
WebFetcherno longer discards the real fetch error. - ✅ Startpage parse failures no longer reported as DuckDuckGo.
- ✅
provider=<x>no longer silently degrades to auto-selection. - ✅ Removed a double-applied aggregator discount that squared it to 0.49.
- ✅ Removed four
try!sites from the server. - ✅ End-to-end tests made hermetic (they inherited ambient API keys).
- ✅ Provider enum pinned against
ProviderIDso it cannot drift.
- 🔧 Per-result upstream-engine attribution. Aggregators are discounted, but a URL
returned by both Brave and a SearXNG instance that queried Brave still gets a
(reduced) second vote instead of collapsing to one independent signal. SearXNG
already exposes a per-result
engine, which is currently discarded. Clean fix: carry an optionalupstreamEnginesonSearchResult, set it from the SearXNG adapter, and fold same-family contributions during clustering. - 🔧 Adapter test coverage gaps. Startpage has only configuration/parsing coverage;
Open Web Search, Parallel Search MCP and Jina Search have no adapter tests. Add
contract tests, especially for
[[String]]unresponsive_enginesand the Parallelexcerptsshape. - 🔧
JinaSearchProvideris wired but unreachable.SearchPipelineFactoryconstructs it whenJINA_API_KEYis set, but the registry excludes.jinafrom selection. Either make it a selectable opt-in provider or stop constructing it. - 🔧
URLError.localizedDescriptionreacheslast_error. It is surfaced throughweb_search_statusandproviders_failed. Mojeek carries its key in the query string, so the risk of a credential appearing in a diagnostic is unverified but not eliminated. Prefer a curated reason string over the platform description. - 🔧 Eight force-unwrapped static URL literals in provider adapters (e.g.
URL(string: "https://api.tavily.com/search")!). Safe in practice, but they are the only remaining force unwraps in production code.
- 🔧 CI. No GitHub Actions workflow exists. Add build + test on push and pull request, running with a scrubbed environment.
- 🔧 Scheduled provider smoke test. Free tiers are not deterministic, so live provider checks belong in a scheduled job, not on every pull request.
- 🔧 First tagged release once CI is green.
⚠️ web_opendoes not execute JavaScript. JS-heavy pages depend on the Jina Reader fallback.⚠️ Startpage cannot work through a plain HTTP client. It serves an Anubis proof-of-work challenge, so it normally reports itself unavailable.⚠️ Parallel Search MCP's upstream tool contract is third-party and unverified. Disabled by default behindSEARCH_ENABLE_PARALLEL.⚠️ "Open Web Search" has no authoritative published specification. The adapter is a configurable, defensively parsed aggregator, active only whenOPEN_WEB_SEARCH_URLis set.⚠️ SearXNG needs JSON enabled. The shippedsettings.ymlserves onlyhtml, soformat=jsonreturns 403 until the operator addsjsontosearch.formats.⚠️ DuckDuckGo serves an "anomaly" bot challenge as HTTP 202, not 403. Handled, but scrape reliability is inherently poor.⚠️ Google Custom Search JSON and Bing Search APIs are deliberately unsupported: Google's is closed to new customers and retires in 2027; Bing's was retired in August 2025.
- 💡 Disk cache for repeated coding-agent workflows (v1 is in-memory only).
- 💡 Optional provider-specific parameter passthrough behind an explicit flag.
- 💡
web_openPDF text extraction (currently returned as raw bytes only if the content type is textual).