# footnote-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/KazKozDev/footnote-mcp  
**GitHub Stars:** 2  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/footnote-mcp

## Description
Source-grounded web research: search, extraction, verification, and browser automation.

## Tools
Capabilities this server exposes over MCP:

- **web_search** — General web discovery. Uses configured providers plus zero-key Bing, DuckDuckGo, Brave, and Wiby. Marginalia is opt-in through auto+marginalia. Returns normalized titles, URLs, snippets and scores.
- **web_deep_search** — Iterative evidence-led deep research: decompose requirements, search unresolved gaps, extract text/tables/files, verify each fact, and return a diagnostic funnel plus source-grounded context.
- **web_read** — Fetch and extract text from a single URL. Returns extracted content (markdown).
- **web_extract_tables** — Fetch a page, parse HTML tables, and return structured columns/rows with source URL provenance.
- **web_detect_downloads** — Detect downloadable CSV/XLS/XLSX/PDF/JSON/XML links on a page.
- **web_parse_file** — Download and parse CSV/TSV/XLSX/PDF/JSON files, returning structured rows or extracted text with provenance.
- **web_fetch_json** — Fetch an API/JSON URL directly and return parsed JSON with source URL provenance and persistent cache.
- **check_date_completeness** — Validate date-range completeness for structured results. Supports day, week, and month granularity.
- **classify_source** — Classify a source as official, aggregator, blog, forum, interactive, blocked, or error.
- **generate_search_queries** — Generate specialized search queries using operators like site:, filetype:, API, CSV, and data-table variants.
- **resolve_units** — Resolve units, currencies, and currency pairs from text so incompatible rows can be rejected.
- **validate_unit_rows** — Reject structured rows that are incompatible with the expected unit, currency, or currency pair.
- **evidence_entailment** — Strict entailment check for claim vs source excerpt. Supports heuristic, Ollama judge, or auto fallback.
- **tool_spec_propose** — Propose a controlled task-specific extraction recipe spec when generic tools cannot extract structured rows.
- **tool_code_generate** — Generate a safe starter extraction recipe function for the proposed spec. The result must still be validated before running.
- **tool_code_validate** — Statically validate task-specific extraction code against the safe recipe contract and allowlist.
- **tool_code_run_sandboxed** — Run validated extraction recipe code in a separate limited subprocess. Code must define extract(source_text, input_payload).
- **tool_promote** — Save a validated extraction recipe as reusable memory after an optional smoke test. Does not edit the MCP server.
- **source_cache_get** — Read persistent source cache entry for a URL.
- **source_cache_put** — Write arbitrary parsed source payload into persistent source cache.
- **build_research_debug_report** — Build a compact diagnostic report for a research run: queries, URLs, source quality, and verification gaps.
- **startup_health_check** — Check optional parser, OCR, browser, and cache dependencies for this MCP server.
- **web_navigate** — Navigate the browser to a URL.
- **web_snapshot** — Capture the current page state: URL, title, accessibility tree with stable refs (@e1, @e2...), and visible text. Use this before clicking/typing.
- **web_click** — Click an interactive element by its ref (e.g. @e3 from web_snapshot).
- **web_type** — Type text into an input field by its ref.
- **web_extract** — Extract text from the page. refs: comma-separated @eN, or 'visible' for all visible text, or 'all' for full HTML.
- **web_scroll** — Scroll the page: up, down, top, bottom.
- **browser_extract_tables** — Extract visible tables from the current browser page after navigation/interactions.
- **browser_set_date_range** — Best-effort browser date-range setter for interactive pages with date inputs.
- **browser_extract_tables_for_date_range** — Set date range in the current browser page, submit it, then extract visible tables.
- **web_archive_fetch** — Find the closest Wayback Machine snapshot of a URL (for dead or changed sources) and optionally read its text.
- **papers_search** — Search scientific publications through Crossref and arXiv. Uses no API key and returns one normalized paper result shape.
- **encyclopedia_search** — Search Wikipedia articles and Wikidata entities, or execute a read-only Wikidata SPARQL query.
- **github_search** — Search public GitHub repositories, issues, code, or commits. Authentication is optional; zero-key requests use GitHub's public rate limit.
- **archive_search** — Find archived captures of a URL or host through the Wayback Machine and Common Crawl; optionally extract archived text.
- **web_search_recent** — Web search restricted to a recency window via DuckDuckGo's date filter (day/week/month/year).
- **corroborate_claim** — Triangulate a claim across multiple source excerpts; returns a corroboration verdict (corroborated/conflicting/single_source/...).
- **locate_claim_span** — Locate the sentence(s) in a source that best support a claim, with character offsets and a containment score (span-level provenance).
- **recipe_registry** — Manage promoted extraction recipes: list, get, run, or delete saved recipes.
- **web_fetch_authenticated** — Fetch a page that needs cookies or custom headers (logged-in or gated pages).
- **web_crawl** — Breadth-first crawl from a start URL, fetching and extracting each page. Stays on the start host by default. Capped at 50 pages.
- **export_dataset** — Write extracted rows to a consolidated file (csv | xlsx | json) and return the path.
- **reconcile_time_series** — Align several time series on a common key, compute deltas vs the first series, and flag missing keys and outliers.
- **web_screenshot** — Capture a PNG screenshot of the current browser page, save it to disk, and optionally OCR text locked inside the image.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "footnote-mcp": {
    "command": "uvx",
    "args": ["footnote-mcp"]
  }
}
```

## Documentation

## What footnote-mcp MCP server does

The footnote-mcp MCP server supports a research workflow that moves from discovery to source-backed evidence. Search results are treated as leads rather than proof. The server can fetch individual pages, crawl a host, retrieve archived snapshots, access authenticated pages with supplied cookies or headers, and extract text from the resulting content.

Its search coverage includes configured providers plus zero-key Bing, DuckDuckGo, Brave, and Wiby. Separate tools search recent material, Crossref and arXiv papers, Wikipedia and Wikidata, public GitHub repositories and issues, and Wayback Machine or Common Crawl captures. A deep-search operation can revisit unresolved evidence gaps and return an evidence ledger with diagnostic funnel information.

## How it works

The typical flow is query, fetch, extract, verify, and report. Fetching can escalate from ordinary HTTP to optional proxy, headless Chromium, or an optional hosted scraping API, stopping when usable content is returned. Extracted pages and files are associated with their source URLs and can be cached for later inspection.

For claims, `evidence_entailment` compares a statement with source text using a deterministic heuristic by default. It can instead use Ollama or a local NLI model when configured. `corroborate_claim` compares excerpts from multiple sources, while `locate_claim_span` identifies supporting sentences with character offsets and a containment score. Source classification and research debug reports provide additional provenance and diagnostic details.

## Setup and configuration

Install the package with Python 3.10 or newer:

```bash
pip install footnote-mcp
python -m playwright install chromium
```

The Chromium installation is used for JavaScript-heavy or blocked pages and browser automation. Configure an MCP client to launch the `footnote-mcp` command over stdio. Claude Desktop can use its `claude_desktop_config.json`, and Cursor can use `~/.cursor/mcp.json` with a server entry whose command is `footnote-mcp`.

No API keys are required for the initial setup. Run `startup_health_check` after installation to inspect extractor, PDF and spreadsheet parser, browser, OCR, and cache availability.

## Tools and capabilities

The server includes tools for:

- Searching the web, recent results, papers, encyclopedias, GitHub, and archived pages.
- Reading URLs, crawling up to 50 pages on-host by default, and fetching authenticated or archived content.
- Extracting HTML tables, linked CSV, TSV, XLS, XLSX, PDF, JSON, and XML files.
- Fetching direct JSON endpoints and exporting consolidated data to CSV, XLSX, or JSON.
- Checking date coverage, resolving units, rejecting incompatible currencies or units, and reconciling time series.
- Classifying sources, inspecting cached provenance, locating claim spans, checking entailment, and corroborating excerpts.
- Generating operator-based search queries and proposing or generating extraction recipes.

## Limitations and notes

Search snippets are for discovery only and do not count as evidence until the underlying source is fetched and checked. The footnote-mcp MCP server depends on the availability of external websites, archives, parsers, browser components, OCR, and optional cache storage. Browser installation is an additional requirement for pages that need Chromium.

Its default claim checker is deterministic and may return `needs_review` when the text does not support a confident decision. Authentication is supported through custom cookies or headers, but credentials must be supplied by the calling workflow.

_Full upstream README: https://allmcps.com/mcp/footnote-mcp/readme_

