Skip to main content
Glama
prism-search

prism-search

Prism Search

English · 한국어 · 日本語 · 简体中文

Verify up to 50 URLs in parallel and compress megabytes of HTML into one compact fact table — or give local agents free, zero-API-key web search.

Run locally with uv and Python 3.11+. No API key, signup, Docker or model download required. MIT license.

Try it with uv

Run these commands from the GitHub source. The first run installs dependencies.

Already using Claude Code, Antigravity or Codex? Don’t burn context fetching links one by one. Hand Prism 1–50 candidate URLs to extract excerpts, dates, cross-domain redirects and GitHub/PyPI/npm/crates.io metadata in one call (e.g., 3,759 KB HTML → 4.5 KB table).

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search verify https://github.com/encode/httpx https://pypi.org/project/httpx/ \
  --goal 'Python httpx latest release and license' --no-expand-hubs --fast --format table

Running a local model without web search? Send the question directly to Prism and get links and excerpts to pass back to your model.

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search 'Python httpx latest release and license' --temporality versioned --fast

Connect an agent · Python SDK · Benchmarks

Related MCP server: Lookout

Use it from your agent

Choose the verify profile if the agent already searches. It exposes two tools and starts with a five-second budget and the URLs you give it. The agent can turn on hub expansion when it needs to follow more links. Use the full profile for a local MCP host that needs search too.

Claude Code / Codex

claude mcp add prism-search -- uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search serve --mode verify
codex mcp add prism-search -- uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search serve --mode verify

Antigravity

Open MCP Servers → Manage MCP Servers → View raw config in the IDE and merge this entry into the existing configuration.

{
  "mcpServers": {
    "prism-search": {"command": "uvx", "args": ["--from", "git+https://github.com/tenderloinsteak/prism-search", "prism-search", "serve", "--mode", "verify"]}
  }
}

Google Antigravity MCP docs · Claude Desktop / Cursor

Use the same JSON in Claude Desktop or Cursor. For the full profile, remove the last two arguments.

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search serve

Install the optional skill to teach the agent when to call Prism. Name the client (claude-code, cursor, codex, antigravity, gemini-cli, windsurf, hermes), or use --client detected for every client found on this machine.

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search setup --skill-only --client claude-code

Prism Verify terminal demo. Four input URLs returned 11 pages and a 4.5 KB table, with a redirect from codeium.com to devin.ai.

Batch URL demo

In a live run on 4 December 2026, four input URLs returned 11 pages, including seven linked from input pages. Prism rendered 3,759 KB of HTML as a 4.5 KB table and exposed the redirect from codeium.com/pricing to devin.ai/pricing. Timing and results vary with the source. One call accepts up to 50 input URLs.

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-verify \
  https://codeium.com/pricing \
  https://aisubscriptioncomparison.com/pricing/windsurf/ \
  https://www.verdent.ai/guides/windsurf-vs-cursor-2026 \
  https://usagebar.com/blog/cursor-pricing-and-rate-limits \
  --goal 'Windsurf Pro and Cursor Pro monthly pricing 2026' --format table

Live-window date filtering (prism-search)

Query: 서울 크리스마스 마켓 운영 기간 ("Seoul Christmas market dates"), run on 4 December 2026 (KST).

A plain keyword search returns links. Naver's top 8, in order:

2026 광화문 마켓 | 광화문광장 크리스마스 마켓 ·겨울 축제          korean.visitseoul.net
서울 크리스마스 마켓 2026, 공지 전 광화문 마켓 ·… 2025년 기간…    yugacrew.com
2026 롯데타운 크리스마스 마켓 |잠실 크리스마스 명소…              blog.naver.com
2026 연말 데이트 필수 코스! 서울 · 경기부터 전국 크리스마스 마켓…   cafe.naver.com   (JavaScript only)
서울 크리스마스 광화문 마켓 2026 세 시즌 운영 일정…                cafe.naver.com   (JavaScript only)
서울 크리스마스 마켓 광화문 마켓 일정과 운영 시간                  cafe.naver.com   (JavaScript only)
서울 크리스마스 마켓 2026.. 잠실·광화문·신세계 기간 과 예약 총정리   blog.naver.com
2026 서울 크리스마스 마켓 트리 명소 추천 더현대 잠실 광화문…        blog.naver.com

Your agent still has to open each link, find a date, and guess whether the page is current.

Prism Search returns pages it has read, each with the date it found:

$ prism-search "서울 크리스마스 마켓 운영 기간" --region kr --live --must-be-active
satisfied · 9 results kept (target 8) · 7.0 s · lexical scoring

[1] 서울 크리스마스 마켓 가볼 만한 곳 4곳, 2026 일정·운영시간 정리
    https://2beginning.com/entry/…
    active, until 2027-01-31 · via ddg_reserve
    서울 크리스마스 마켓 가볼 만한 곳을 2026년 일정으로 정리했습니다. 광화문 마켓(12.11~1.10), 잠실 롯데타운…

[5] 2026 서울 크리스마스 마켓 일정 총정리 (광화문·잠실·더현대)
    https://m.blog.naver.com/…
    active, until 2027-01-03 · via ddg_reserve
    …2026 롯데타운 크리스마스 마켓 기간 : 2026년 11월 19일(목) ~ 2027년 1월 3일(일) 장소 : 잠실 롯데월드타워…

[8] '옥토버페스트 서울', 연말 크리스마스 마켓 운영
    https://www.betanews.net/article/view/beta202612030067
    active, until 2026-12-25 · via bing_news_rss
    …11월 28일부터 12월 25일까지 매주 주말(토·일)과 12월 24일·25일 서울 마포구 문화비축기지 입구에서…
(6 more)

sources: 5 answered, no answer from bing_web (UPSTREAM_BROKEN)
handles: fr_1eb7211b (search) · ev_1672e01c (evidence)
read: prism-search inspect ev_1672e01c --view passages

The run also recorded what it left out. prism-search inspect ev_1672e01c printed:

filtered: 3 expired, 0 duplicates, 0 login walls, 19 JavaScript-only

The 19 JavaScript-only pages were 10 Google News redirects, 6 MSN articles and the 3 Naver Cafe posts above. Six more pages had no date proving the market was open. Prism Search can be wrong, so it keeps its decisions inspectable: in that run, one of the 3 "expired" pages was the official Seoul tourism page, dropped because it contains the word 조기마감 ("may close early"). The closure rules are now fixed, and the same page is kept as upcoming, until 2027-01-10 (page also says: 조기마감). See Known limits.

CLI and retained evidence

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search doctor
uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search "Python 3.14 what's new" --fast
uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search "free exhibitions in Seoul this month" --region kr --live --must-be-active

--fast sets a 5-second search budget. Output is plain text in a terminal and JSON when piped. Every search prints two handles: fr_… to widen the same search and ev_… to read the stored evidence offline.

Expand or inspect using the handles printed by your own search.

uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search expand fr_1eb7211b                       # try new wording, links and languages
uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search inspect ev_1672e01c --view passages      # read what was kept, no network
uvx --from git+https://github.com/tenderloinsteak/prism-search prism-search inspect ev_1672e01c --view expired       # see what was dropped and why

Use it from Python

Install the SDK into a uv project with uv add git+https://github.com/tenderloinsteak/prism-search.

from prism_search import search, verify

result = search("Python 3.14 what's new", time_budget_s=5)
table = verify(
    ["https://github.com/encode/httpx", "https://pypi.org/project/httpx/"], goal="httpx license"
)
for item in table["results"]:
    print(item["title"], item["final_url"], item.get("source_facts", {}))

search() and verify() take the same options as the MCP tools (region, temporality, must_be_active, expand_hubs, and others). For several calls or async code, use PrismClient: async with PrismClient() as c: await c.averify(...).

What it does

17 keyless sources

Naver web and blog, Yahoo! JAPAN, Bing web and news, Google News RSS, DuckDuckGo, Wikipedia, Wikidata, Hacker News, Stack Exchange, GitHub, OpenAlex, Crossref, PubMed, arXiv, and the PyPI, npm, crates.io and RubyGems registries for version questions. A region pack picks a subset of providers for kr, jp, us, eu or global.

Reads HTML & PDFs before returning

Fetches HTML and public PDFs (pypdf), extracts clean Markdown (--format markdown, inspect --view markdown) preserving tables, code blocks and links, and flags login walls or JS shells. Add --render auto to render JS-only SPAs locally with Chrome or prism-search[browser].

Dates you can check

When a page provides a date, Prism records the matching text and any derived range. Each result includes a status (active, closing_soon, upcoming, expired, unknown). With --must-be-active, expired pages are filtered out and listed in the expired view.

Searches you can widen

A search is stored in local SQLite. expand reuses it with terms, links and other-language names found in the pages, without fetching seen URLs again.

Honest coverage

Every response reports which sources answered, which were rate-limited, and why the search stopped (saturation_diagnosis). A search may return zero results; it says so.

Measured results

Two metrics track both core workflows (no domain-specific URL allowlists):

  1. Cross-domain verification benchmark (benchmarks/verify_eval.py): 100 cases across 20 unrelated verticals (pricing, tax, opensource, health, ev, ai, travel, visa, grants, etc.) run on synthetic HTML fixtures with no network requests:

Metric

Measured Result

Cases / Verticals / Crashes

100 cases / 20 verticals / 0 crashes

2-hop precision (off-topic leaks)

100.0% (99/99 on-topic, 0 chrome leaks, 0 off-topic leaks)

schema.org JSON-LD recall

100.0% (100/100)

Expired-window leaks (--must-be-active)

0

Empty SPA detection (JS_REQUIRED)

100.0% (100/100)

These cases fill one synthetic page template with different subject strings. They are regression checks for the parser and filters, not a measure of accuracy on live pages. The live false-positive rate has not been measured yet.

  1. Progressive search benchmark (40-case benchmark): Korean, Japanese, US, EU and global questions (live events, versions, nameless concepts), comparing one search (single shot) with one automatic widening step (progressive). Run on 4 December 2026 (UTC), 0 case errors, both runs reproduce from their recorded observations.

Scorer

Cases with results

Live slots with an active date (of 72)

Expired results returned

Concepts named in the top 5 terms (of 16)

Lexical (default, 0 MB)

30 → 34

11 → 22 (30.6%)

0 of 22

10 → 10 (62.5%)

Neural (optional ONNX)

29 → 34

15 → 21 (29.2%)

0 of 21

9 → 9 (56.3%)

For comparison, the first eight pages fetched before Prism's filters (raw Ring 0) contained 20 expired pages out of 48 in the lexical run and 19 out of 46 in the neural run. Dates and closure words come from Prism's own extractor, not from human review, so "0 expired" means "0 pages that Prism itself recognized as expired". Full numerators, denominators and per-case rows are in the lexical report and the neural report.

Known limits

  • Closure checks use dates and explicit statements. Phrases such as "Registration is closed" can establish closure. Isolated words such as "closed", "ended" and 조기마감 appear as hints. An unlabelled date is kept as a date mention. Check inspect <ev_…> --view expired to review exclusions.

  • Results change. Sources rate-limit, reorder and remove pages. The numbers above describe one day.

  • JavaScript rendering is optional (--render auto). Without --render auto, Prism reports JavaScript-only pages and login walls with their URLs. With --render auto, Prism falls back to your local Chrome/Chromium/Edge/Brave or prism-search[browser] (Playwright); anti-bot CAPTCHAs and login walls are never bypassed.

  • --fast is a search budget, not a hard wall clock. With the default lexical scorer it stays close to 5 seconds. The optional neural scorer adds CPU time.

  • Scraped sources can break. Naver, Yahoo! JAPAN, Bing and DuckDuckGo are read from public HTML or RSS and can change without notice.

  • Some search pages disallow automated access. The robots.txt files of Bing, Yahoo! JAPAN and Naver search disallow automated clients, and Naver's explicitly names AI retrieval (RAG). Prism reads them with a browser User-Agent, and only when you run a search. If you or your organization want to respect those rules strictly, turn the sources off with PRISM_DISABLED_SOURCES (for example naver_web,naver_view,bing_web,yahoo_jp_web) or use the official Naver Search API keys below.

  • System proxy settings are ignored. Each fetch connects to the address that passed the SSRF check, so HTTP_PROXY and HTTPS_PROXY are not used. Networks that only allow traffic through a proxy cannot fetch pages.

Optional extras

None of these are required.

Option

What it adds

prism-search[browser]

Optional Playwright Chromium fallback when no system Chrome/Chromium/Edge/Brave is installed (--render auto / --render always). Run uvx --from 'prism-search[browser]' playwright install chromium once if using this extra.

prism-search[neural]

Multilingual ranking with intfloat/multilingual-e5-small (about 120 MB). Run uvx --from 'prism-search[neural] @ git+https://github.com/tenderloinsteak/prism-search' prism-search setup --model-only once, then use --from 'prism-search[neural] @ git+https://github.com/tenderloinsteak/prism-search' in your MCP command too. Search answers in lexical mode until the model is ready.

NAVER_CLIENT_ID, NAVER_CLIENT_SECRET

Uses the free official Naver Search API (25,000 calls/day) instead of HTML.

PRISM_DISABLED_SOURCES

Turns off built-in sources by name, comma-separated (prism-search doctor lists them).

GH_TOKEN

Raises the GitHub search rate limit.

PRISM_SEARXNG_URL

Adds your own SearXNG instance (JSON output enabled) as a source.

PRISM_CACHE_DIR, PRISM_MAX_CACHE_MB

Moves the cache or changes its 256 MB limit.

Privacy and safety

Prism Search runs locally. Discovery sends search queries to the selected providers. Verification contacts the public URLs you supply and can follow related links when hub expansion is on. Fetches resolve DNS and block private, loopback and link-local addresses, follow at most 5 redirects and stop at 2 MiB per page. Credentials in URLs are removed before storage. The cache lives in ~/.cache/prism-search; use --ephemeral to keep a session in memory and prism-search clear-cache to delete everything.

More detail: architecture · benchmark protocol · release guide · changelog

MIT license

Found a page Prism misread? Open an issue or see Contributing.

Try it on your own links. If you use Prism, a GitHub star is appreciated.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Zero-auth multi-source research MCP server that enables web search, reading URLs, PDFs, GitHub repos, and querying Hacker News, Stack Overflow, Semantic Scholar, and YouTube transcripts without API keys.
      48 PyPI
      12
      Apache 2.0
    • A
      license
      Not graded
      quality
      F
      maintenance
      MCP server enabling local-first web search, fetch, extract, and caching with citeable excerpts, no API key required. Supports research workflows for agents and apps.
      72 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A provider-neutral Web Search MCP server and CLI that combines live search, scholarly discovery, verified PDF downloads, URL normalization, multi-provider ranking, secure page fetching, caching, and citation-ready research evidence.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      An MCP-native research assistant — search backend, intent-routing, and writing pipeline that carries a question through search, verification, and writing, delivering whatever research you need: quick answers, verified sources, or a finished document.
      7
      509 npm
      MIT