footnote-mcp

v0.2.6
io.github.KazKozDev/footnote-mcp Checked 4 days ago Published 4 months ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

web_read

Fetch and extract text from a single URL. Returns extracted content (markdown).

ParameterTypeDescription
url *stringFull URL to fetch and extract
langstringLanguage code
use_cacheboolean

web_extract_tables

Fetch a page, parse HTML tables, and return structured columns/rows with source URL provenance.

ParameterTypeDescription
url *string
langstring
max_rowsinteger
max_tablesinteger
use_cacheboolean

web_detect_downloads

Detect downloadable CSV/XLS/XLSX/PDF/JSON/XML links on a page.

ParameterTypeDescription
url *string
langstring
max_linksinteger

web_parse_file

Download and parse CSV/TSV/XLSX/PDF/JSON files, returning structured rows or extracted text with provenance.

ParameterTypeDescription
url *string
langstring
max_rowsinteger
use_cacheboolean

web_fetch_json

Fetch an API/JSON URL directly and return parsed JSON with source URL provenance and persistent cache.

ParameterTypeDescription
url *string
langstring
timeoutinteger
use_cacheboolean

check_date_completeness

Validate date-range completeness for structured results. Supports day, week, and month granularity.

ParameterTypeDescription
actual_items *array
end_date *stringYYYY-MM-DD
start_date *stringYYYY-MM-DD
calendarstringcalendar | business_day | crypto_24_7 | forex_weekday | us_business_day | ru_business_day
granularitystringday | week | month
holidaysarray

classify_source

Classify a source as official, aggregator, blog, forum, interactive, blocked, or error.

ParameterTypeDescription
url *string
content_typestring
status_codeinteger
text_samplestring

generate_search_queries

Generate specialized search queries using operators like site:, filetype:, API, CSV, and data-table variants.

ParameterTypeDescription
task *string
max_queriesinteger
requirementsobject

resolve_units

Resolve units, currencies, and currency pairs from text so incompatible rows can be rejected.

ParameterTypeDescription
text *string

validate_unit_rows

Reject structured rows that are incompatible with the expected unit, currency, or currency pair.

ParameterTypeDescription
expected_unit_or_pair *string
rows *array
text_fieldsarray

evidence_entailment

Strict entailment check for claim vs source excerpt. Supports heuristic, Ollama judge, or auto fallback.

ParameterTypeDescription
claim *string
source_excerpt *string
backendstringauto | heuristic | ollama | local_nli
modelstringOptional Ollama model name

tool_spec_propose

Propose a controlled task-specific extraction recipe spec when generic tools cannot extract structured rows.

ParameterTypeDescription
task *string
desired_outputstring
observed_failurestring
source_urlstring

tool_code_generate

Generate a safe starter extraction recipe function for the proposed spec. The result must still be validated before running.

ParameterTypeDescription
specobject

tool_code_validate

Statically validate task-specific extraction code against the safe recipe contract and allowlist.

ParameterTypeDescription
code *string
max_charsinteger

tool_code_run_sandboxed

Run validated extraction recipe code in a separate limited subprocess. Code must define extract(source_text, input_payload).

ParameterTypeDescription
code *string
input_payloadobject
max_output_charsinteger
source_textstring
timeoutinteger

tool_promote

Save a validated extraction recipe as reusable memory after an optional smoke test. Does not edit the MCP server.

ParameterTypeDescription
code *string
name *string
expected_min_rowsinteger
input_payloadobject
sample_source_textstring
specobject

source_cache_get

Read persistent source cache entry for a URL.

ParameterTypeDescription
url *string

source_cache_put

Write arbitrary parsed source payload into persistent source cache.

ParameterTypeDescription
payload *object
url *string

build_research_debug_report

Build a compact diagnostic report for a research run: queries, URLs, source quality, and verification gaps.

ParameterTypeDescription
task *string
requirementsobject
search_memoryobject
sourcesarray
verificationobject

startup_health_check

Check optional parser, OCR, browser, and cache dependencies for this MCP server.

web_navigate

Navigate the browser to a URL.

ParameterTypeDescription
url *stringFull URL to navigate to

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).

ParameterTypeDescription
ref *stringElement ref from web_snapshot, like @e3

web_type

Type text into an input field by its ref.

ParameterTypeDescription
ref *stringInput field ref from web_snapshot
text *stringText to type
submitbooleanPress Enter after typing

web_extract

Extract text from the page. refs: comma-separated @eN, or 'visible' for all visible text, or 'all' for full HTML.

ParameterTypeDescription
refs *stringComma-separated refs, or 'visible', or 'all'

web_scroll

Scroll the page: up, down, top, bottom.

ParameterTypeDescription
direction *stringup | down | top | bottom

browser_extract_tables

Extract visible tables from the current browser page after navigation/interactions.

ParameterTypeDescription
max_rowsinteger
max_tablesinteger

browser_set_date_range

Best-effort browser date-range setter for interactive pages with date inputs.

ParameterTypeDescription
end_date *stringYYYY-MM-DD
start_date *stringYYYY-MM-DD
submitboolean

browser_extract_tables_for_date_range

Set date range in the current browser page, submit it, then extract visible tables.

ParameterTypeDescription
end_date *stringYYYY-MM-DD
start_date *stringYYYY-MM-DD
max_rowsinteger
max_tablesinteger

web_archive_fetch

Find the closest Wayback Machine snapshot of a URL (for dead or changed sources) and optionally read its text.

ParameterTypeDescription
url *string
fetch_textboolean
langstring
timestampstringOptional target YYYYMMDD or YYYYMMDDhhmmss

web_search_recent

Web search restricted to a recency window via DuckDuckGo's date filter (day/week/month/year).

ParameterTypeDescription
query *string
freshnessstringday | week | month | year
langstring
numinteger

corroborate_claim

Triangulate a claim across multiple source excerpts; returns a corroboration verdict (corroborated/conflicting/single_source/...).

ParameterTypeDescription
claim *string
excerpts *array
backendstringheuristic | auto | ollama | local_nli

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).

ParameterTypeDescription
claim *string
source_text *string
max_spansinteger

recipe_registry

Manage promoted extraction recipes: list, get, run, or delete saved recipes.

ParameterTypeDescription
action *stringlist | get | run | delete
input_payloadobject
recipe_idstring
source_textstring

web_fetch_authenticated

Fetch a page that needs cookies or custom headers (logged-in or gated pages).

ParameterTypeDescription
url *string
cookiesobjectname→value cookie map
headersobjectextra request headers
langstring
timeoutinteger

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.

ParameterTypeDescription
start_url *string
langstring
max_pagesinteger
same_domainboolean

export_dataset

Write extracted rows to a consolidated file (csv | xlsx | json) and return the path.

ParameterTypeDescription
rows *array
columnsarray
formatstringcsv | xlsx | json
pathstringOptional output path; defaults to cache exports dir

reconcile_time_series

Align several time series on a common key, compute deltas vs the first series, and flag missing keys and outliers.

ParameterTypeDescription
series *array
onstringKey field to align on
value_fieldstring

web_screenshot

Capture a PNG screenshot of the current browser page, save it to disk, and optionally OCR text locked inside the image.

ParameterTypeDescription
full_pageboolean
ocrboolean