Skip to main content
Glama

Evident

Evident is not another scraper. Best-in-class open-source scraping/rendering engines already exist (Crawl4AI, Playwright). Evident orchestrates them behind a resilience ladder, scores every result's trustworthiness, and lets you extract structured data from any site — not just ones someone hand-wrote a parser for — via a versioned, community-contributable recipe system.

Full vision, architecture, and roadmap: docs/VISION.md.

Why

Most extraction tools give you clean text and let you figure out whether to trust it. Evident's whole design centers on one missing piece: every result carries a confidence score and a method explaining how it was produced, so an autonomous agent — not a human — can decide whether to act on it.

What confidence actually measures today: which code path produced a result (recipe match vs. LLM extraction vs. raw fetch, official API vs. reverse-engineered, fully-rendered vs. partial content) — a provenance/method signal, not a correctness signal. It is deterministic and internally consistent (a recipe match always outscores raw fetch, for example), but it is not yet calibrated against any ground truth — nothing in the pipeline compares an extracted value to what's actually correct. Treat a 0.9 as "produced by a method that's usually reliable," not as "90% likely to be factually right." Calibration against a held-out benchmark is tracked as future work in docs/VISION.md §9.

Related MCP server: Haunt API

Quickstart

git clone https://github.com/Kaushalendra-Marcus/evident
cd evident
python -m venv .venv && source .venv/bin/activate
pip install -e ".[all]"

# Run the MCP server (stdio) — works with Claude Desktop, Claude Code, Cursor,
# or any other MCP-compatible client
evident-mcp

Add to your MCP client config (example for Claude Desktop):

{
  "mcpServers": {
    "evident": {
      "command": "/absolute/path/to/.venv/bin/evident-mcp"
    }
  }
}

Not using an MCP client? Same engine, plain Python:

import asyncio
from evident.core import ladder

async def main():
    result = await ladder.run("https://example.com")
    record = ladder.to_record(result)
    print(record.confidence, record.method)
    print(record.data.get("markdown", "")[:500])

asyncio.run(main())

Tools (MCP) / functions (SDK)

Tool

What it does

fetch(url, mode)

Universal fetch, escalates the resilience ladder automatically

extract(url, json_schema)

Structured extraction against any caller-supplied schema — works on any site

list_recipes()

Discover built-in, verified extraction recipes

use_recipe(recipe_id, slug, entity_name)

Invoke a deterministic, high-confidence recipe (e.g. ats_greenhouse)

health_check(target)

Proactively check whether a recipe or URL is still working

Optional dependencies

Evident's core (Tier 1 static fetch) has minimal dependencies on purpose. Heavier capabilities are opt-in:

pip install "evident[render]"   # Tier 2: JS-rendered pages via Crawl4AI/Playwright
pip install "evident[llm]"      # extract(): LLM-based schema extraction (bring your own ANTHROPIC_API_KEY)
pip install "evident[api]"      # REST API interface
pip install "evident[all]"      # everything, plus dev/test tooling

If render isn't installed and Tier 1 fails, fetch() reports failure_reason: dependency_missing instead of crashing — Tier-1-only installs stay fully usable for the large share of the web that's server-rendered.

Contributing

Contributions are welcome. The single most valuable — and lowest-friction — contribution is a recipe: one YAML metadata file plus one small async fetcher function, no need to understand the resilience ladder or confidence engine. See docs/RECIPE_GUIDE.md for the recipe walkthrough, and CONTRIBUTING.md for the development setup, the two project rules every change must satisfy (a test that would have caught the bug; no unverified "it works" claims), and how to run the checks CI runs.

Testing

pip install -e ".[dev]"
pytest

Tests use recorded/mocked HTTP responses (respx) so they run deterministically without live network access — this was the single biggest gap in earlier hand-rolled scraping projects this one grew out of, and it's non-negotiable here.

Status

Early / pre-1.0. Tier 1 (static fetch) and the recipe registry (Greenhouse, Lever, Ashby) are implemented and unit-tested against mocked fixtures. Tier 2 (rendered fetch via Crawl4AI) is implemented and has been smoke-tested against a live page. LLM-based extract() is implemented but requires your own ANTHROPIC_API_KEY and hasn't been live-tested end-to-end yet — see docs/VISION.md roadmap for what's next.

Security

Evident's whole job is server-side fetching of caller-supplied URLs — treat it accordingly. The shipped code protects part of that surface and deliberately leaves the rest to your own deployment.

What the code protects. Every fetch path — fetch(), extract(), health_check(), the resilience ladder (Tier 1 and Tier 2), and the recipe fetchers — enforces a built-in SSRF guard. A URL whose host resolves to a non-public address (loopback, RFC1918 private ranges, link-local including the cloud metadata endpoint 169.254.169.254, and multicast/reserved/unspecified ranges) is refused before any connection is opened, as is any non-http(s) scheme. Hostnames are resolved and the resulting IPs are checked — not string-matched — so a DNS-rebinding name that points at an internal address is still blocked. A refused URL returns a diagnosable ssrf_blocked result rather than failing silently. See src/evident/core/ssrf.py.

What the code does not protect (by design, for now). The REST API and Docker image ship with no authentication and no rate limiting (docker-compose.yml publishes port 8000 directly). This is a deliberate scope decision for a self-hosted, single-operator tool, not an oversight — so:

  • Do not expose the REST API directly to the public internet. Run it behind your own reverse proxy with auth, or keep it on localhost / a private network, if you use evident.api.rest or the Docker image.

  • The MCP server (stdio, single local user) has no such network exposure and is the lowest-risk way to run Evident today.

Full security posture and how to report a vulnerability: SECURITY.md. Please report security issues through GitHub's private vulnerability reporting — not a public issue or PR with exploit details.

License

Apache-2.0 — see LICENSE. Deliberately not AGPL, to stay commercial-use-friendly.

Available Tools

5 tools
extractA

Fetch a URL and extract structured fields matching a caller-supplied JSON schema, using an LLM — works on ANY site, not just ones with a dedicated recipe. Use list_recipes first if you suspect a faster, higher-confidence deterministic recipe already exists for this site.

Args:
    url: The URL to extract structured data from.
    json_schema: A JSON Schema (as a JSON string) describing the fields
        to extract, e.g. '{"type":"object","properties":{"price":
        {"type":"number"},"title":{"type":"string"}}}'.
    instructions: Optional extra guidance for the extraction model.

Requires ANTHROPIC_API_KEY to be set in the environment — this tool
will return a diagnosable failure (not a crash) if it isn't.

Inputs: url (required), json_schema (required), instructions. Returns: result

fetchA

Fetch a URL through the resilience ladder (Tier 1 static -> Tier 2 rendered, escalating only when the failure mode suggests it'll help).

Args:
    url: The URL to fetch.
    mode: "markdown" returns clean readable content (default).
          "raw" also includes the raw HTML alongside the markdown.

Returns a JSON object with the extracted content plus `confidence`,
`method` (which tier/strategy produced it), and `tier` — always
check `confidence` before trusting the result for anything important.
On failure, `failure_reason` explains why (never a silent empty result).

Inputs: url (required), mode. Returns: result

health_checkB

Proactively verify a recipe or a raw URL is still working, rather than discovering breakage only when a real search silently returns zero results. Pass either a recipe id (checks with a known-good test slug isn't available generically, so this reports whether the endpoint itself is reachable and returning the expected top-level shape) or a plain URL (runs it through the ladder and reports the outcome).

Inputs: target (required). Returns: result

list_recipesA

List every registered extraction recipe (platform-specific, verified parsers — e.g. Greenhouse, Lever, Ashby job boards). Check this before calling extract with a manual schema: a matching recipe is faster and higher-confidence than LLM extraction.

Inputs: no named parameters. Returns: result

use_recipeA

Invoke a specific recipe by id (see list_recipes) against one entity's slug/identifier on that platform.

Args:
    recipe_id: e.g. "ats_greenhouse", "ats_lever", "ats_ashby".
    slug: The platform-specific identifier (e.g. a Greenhouse board
        token — the part of boards.greenhouse.io/<slug>).
    entity_name: A human-readable name to attach to results (e.g. the
        company name), since the raw API responses often don't include it.

Inputs: slug (required), recipe_id (required), entity_name (required). Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation4/5

    The tools mostly have distinct purposes: fetch grabs raw content, extract does structured LLM extraction, recipes are deterministic parsers, health_check verifies things. There's some boundary fuzziness between fetch and extract (both fetch a URL), and between extract and use_recipe (both produce structured data), but descriptions strongly clarify which to use when.

    Naming Consistency4/5

    Tools use consistent snake_case naming with imperative verbs (fetch, extract, list, use, health_check). 'list_recipes' and 'use_recipe' pair well, and 'health_check' is clear. Minor inconsistency: health_check is a compound noun rather than verb_noun, and 'extract'/'fetch' are bare verbs without object nouns, though still readable.

    Tool Count5/5

    Five tools is well-scoped for a web-scraping/extraction server. Each tool serves a distinct layer of the pipeline (fetching, LLM extraction, deterministic recipes, recipe invocation, health verification), with no redundant or padding tools.

    Completeness4/5

    The surface covers the full extraction lifecycle: discover recipes (list_recipes), use them (use_recipe), fall back to generic extraction (extract), basic fetching (fetch), and verification (health_check). Minor gap: no listing or discovery of available entities/boards beyond recipes, and no way to retrieve cached/past results, but the core workflow is complete.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      The web data platform for AI agents. Fetch, search, crawl, extract, monitor, and screenshot any URL. 55+ domain extractors, 65-98% token savings. 7 MCP tools included.
      332 npm
      12
      AGPL 3.0
    • A
      license
      A
      quality
      D
      maintenance
      Structured web context infrastructure for AI agents. Extract reliable schema-guided JSON from websites using Claude-powered parsing, Browserless fallback rendering, and MCP-native workflows.
      1
      1
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables users to build, run, and repair deterministic web scrapers through MCP tools, and to fetch scraped data without needing a model at runtime.
      -