footnote-mcp
v0.2.6Source-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_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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query |
lang | string | Language code: en, ru, etc. |
num | integer | Max results to return |
provider | string | auto | auto+marginalia | searxng | tavily | brave | google | wiby | marginalia | scrape |
semantic | boolean | Rerank results by meaning using local bge-m3 embeddings |
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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query |
entailment_backend | string | heuristic | auto | ollama | local_nli |
lang | string | Language code |
max_fetch | integer | null | Adaptive total page/file fetch budget; defaults to num |
max_iterations | integer | Maximum gap-driven research iterations |
model | string | null | Ollama model for requirement planning and evidence extraction; otherwise FOOTNOTE_RESEARCH_MODEL/OLLAMA_MODEL |
num | integer | Maximum discovery results before fetching |
provider | string | Web provider: auto | auto+marginalia | searxng | tavily | brave | google | wiby | marginalia | scrape |
sources | array | Optional explicit source intents: web, papers, encyclopedia, github, archive. Empty enables automatic routing. |
web_read
Fetch and extract text from a single URL. Returns extracted content (markdown).
| Parameter | Type | Description |
|---|---|---|
url * | string | Full URL to fetch and extract |
lang | string | Language code |
use_cache | boolean |
web_extract_tables
Fetch a page, parse HTML tables, and return structured columns/rows with source URL provenance.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
lang | string | |
max_rows | integer | |
max_tables | integer | |
use_cache | boolean |
web_detect_downloads
Detect downloadable CSV/XLS/XLSX/PDF/JSON/XML links on a page.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
lang | string | |
max_links | integer |
web_parse_file
Download and parse CSV/TSV/XLSX/PDF/JSON files, returning structured rows or extracted text with provenance.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
lang | string | |
max_rows | integer | |
use_cache | boolean |
web_fetch_json
Fetch an API/JSON URL directly and return parsed JSON with source URL provenance and persistent cache.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
lang | string | |
timeout | integer | |
use_cache | boolean |
check_date_completeness
Validate date-range completeness for structured results. Supports day, week, and month granularity.
| Parameter | Type | Description |
|---|---|---|
actual_items * | array | |
end_date * | string | YYYY-MM-DD |
start_date * | string | YYYY-MM-DD |
calendar | string | calendar | business_day | crypto_24_7 | forex_weekday | us_business_day | ru_business_day |
granularity | string | day | week | month |
holidays | array |
classify_source
Classify a source as official, aggregator, blog, forum, interactive, blocked, or error.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
content_type | string | |
status_code | integer | |
text_sample | string |
generate_search_queries
Generate specialized search queries using operators like site:, filetype:, API, CSV, and data-table variants.
| Parameter | Type | Description |
|---|---|---|
task * | string | |
max_queries | integer | |
requirements | object |
resolve_units
Resolve units, currencies, and currency pairs from text so incompatible rows can be rejected.
| Parameter | Type | Description |
|---|---|---|
text * | string |
validate_unit_rows
Reject structured rows that are incompatible with the expected unit, currency, or currency pair.
| Parameter | Type | Description |
|---|---|---|
expected_unit_or_pair * | string | |
rows * | array | |
text_fields | array |
evidence_entailment
Strict entailment check for claim vs source excerpt. Supports heuristic, Ollama judge, or auto fallback.
| Parameter | Type | Description |
|---|---|---|
claim * | string | |
source_excerpt * | string | |
backend | string | auto | heuristic | ollama | local_nli |
model | string | Optional Ollama model name |
tool_spec_propose
Propose a controlled task-specific extraction recipe spec when generic tools cannot extract structured rows.
| Parameter | Type | Description |
|---|---|---|
task * | string | |
desired_output | string | |
observed_failure | string | |
source_url | string |
tool_code_generate
Generate a safe starter extraction recipe function for the proposed spec. The result must still be validated before running.
| Parameter | Type | Description |
|---|---|---|
spec | object |
tool_code_validate
Statically validate task-specific extraction code against the safe recipe contract and allowlist.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
max_chars | integer |
tool_code_run_sandboxed
Run validated extraction recipe code in a separate limited subprocess. Code must define extract(source_text, input_payload).
| Parameter | Type | Description |
|---|---|---|
code * | string | |
input_payload | object | |
max_output_chars | integer | |
source_text | string | |
timeout | integer |
tool_promote
Save a validated extraction recipe as reusable memory after an optional smoke test. Does not edit the MCP server.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
name * | string | |
expected_min_rows | integer | |
input_payload | object | |
sample_source_text | string | |
spec | object |
source_cache_get
Read persistent source cache entry for a URL.
| Parameter | Type | Description |
|---|---|---|
url * | string |
source_cache_put
Write arbitrary parsed source payload into persistent source cache.
| Parameter | Type | Description |
|---|---|---|
payload * | object | |
url * | string |
build_research_debug_report
Build a compact diagnostic report for a research run: queries, URLs, source quality, and verification gaps.
| Parameter | Type | Description |
|---|---|---|
task * | string | |
requirements | object | |
search_memory | object | |
sources | array | |
verification | object |
startup_health_check
Check optional parser, OCR, browser, and cache dependencies for this MCP server.
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).
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref from web_snapshot, like @e3 |
web_type
Type text into an input field by its ref.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Input field ref from web_snapshot |
text * | string | Text to type |
submit | boolean | Press 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.
| Parameter | Type | Description |
|---|---|---|
refs * | string | Comma-separated refs, or 'visible', or 'all' |
web_scroll
Scroll the page: up, down, top, bottom.
| Parameter | Type | Description |
|---|---|---|
direction * | string | up | down | top | bottom |
browser_extract_tables
Extract visible tables from the current browser page after navigation/interactions.
| Parameter | Type | Description |
|---|---|---|
max_rows | integer | |
max_tables | integer |
browser_set_date_range
Best-effort browser date-range setter for interactive pages with date inputs.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | YYYY-MM-DD |
start_date * | string | YYYY-MM-DD |
submit | boolean |
browser_extract_tables_for_date_range
Set date range in the current browser page, submit it, then extract visible tables.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | YYYY-MM-DD |
start_date * | string | YYYY-MM-DD |
max_rows | integer | |
max_tables | integer |
web_archive_fetch
Find the closest Wayback Machine snapshot of a URL (for dead or changed sources) and optionally read its text.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
fetch_text | boolean | |
lang | string | |
timestamp | string | Optional target YYYYMMDD or YYYYMMDDhhmmss |
papers_search
Search scientific publications through Crossref and arXiv. Uses no API key and returns one normalized paper result shape.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
lang | string | |
num | integer | |
source | string | auto | crossref | arxiv |
encyclopedia_search
Search Wikipedia articles and Wikidata entities, or execute a read-only Wikidata SPARQL query.
| Parameter | Type | Description |
|---|---|---|
query * | string | Entity/topic query; still required when sparql is supplied |
lang | string | |
num | integer | |
source | string | auto | wikipedia | wikidata |
sparql | string | Optional read-only SPARQL SELECT query |
github_search
Search public GitHub repositories, issues, code, or commits. Authentication is optional; zero-key requests use GitHub's public rate limit.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
kind | string | repositories | issues | code | commits |
num | integer |
archive_search
Find archived captures of a URL or host through the Wayback Machine and Common Crawl; optionally extract archived text.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full URL, host, or Common Crawl URL pattern |
fetch_text | boolean | |
lang | string | |
num | integer | |
source | string | auto | wayback | common_crawl |
timestamp | string | Optional Wayback target YYYYMMDD or YYYYMMDDhhmmss |
web_search_recent
Web search restricted to a recency window via DuckDuckGo's date filter (day/week/month/year).
| Parameter | Type | Description |
|---|---|---|
query * | string | |
freshness | string | day | week | month | year |
lang | string | |
num | integer |
corroborate_claim
Triangulate a claim across multiple source excerpts; returns a corroboration verdict (corroborated/conflicting/single_source/...).
| Parameter | Type | Description |
|---|---|---|
claim * | string | |
excerpts * | array | |
backend | string | heuristic | 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).
| Parameter | Type | Description |
|---|---|---|
claim * | string | |
source_text * | string | |
max_spans | integer |
recipe_registry
Manage promoted extraction recipes: list, get, run, or delete saved recipes.
| Parameter | Type | Description |
|---|---|---|
action * | string | list | get | run | delete |
input_payload | object | |
recipe_id | string | |
source_text | string |
web_fetch_authenticated
Fetch a page that needs cookies or custom headers (logged-in or gated pages).
| Parameter | Type | Description |
|---|---|---|
url * | string | |
cookies | object | name→value cookie map |
headers | object | extra request headers |
lang | string | |
timeout | integer |
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.
| Parameter | Type | Description |
|---|---|---|
start_url * | string | |
lang | string | |
max_pages | integer | |
same_domain | boolean |
export_dataset
Write extracted rows to a consolidated file (csv | xlsx | json) and return the path.
| Parameter | Type | Description |
|---|---|---|
rows * | array | |
columns | array | |
format | string | csv | xlsx | json |
path | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
series * | array | |
on | string | Key field to align on |
value_field | string |
web_screenshot
Capture a PNG screenshot of the current browser page, save it to disk, and optionally OCR text locked inside the image.
| Parameter | Type | Description |
|---|---|---|
full_page | boolean | |
ocr | boolean |