Essence
MCP Integration

MCP Overview

Model Context Protocol server for AI agent integration

Essence includes a built-in Model Context Protocol (MCP) server that exposes scraping tools directly to AI agents like Claude, Cursor, and Windsurf.

Endpoint

GET /mcp

The MCP server uses Streamable HTTP transport and is available at the same address as the REST API.

Available Tools

The MCP server exposes six tools:

scrape

Scrape a single page to Markdown or other formats.

ParameterTypeDefaultDescription
urlstringRequired. URL to scrape
formatsstring[]["markdown"]Output formats
enginestring"auto"Engine selection
timeoutMsinteger30000Timeout in milliseconds

crawl

Crawl a website following links.

ParameterTypeDefaultDescription
urlstringRequired. Starting URL
maxDepthinteger2Maximum link depth
limitinteger100Maximum pages
includePathsstring[]Glob patterns to include
excludePathsstring[]Glob patterns to exclude
allowBackwardLinksbooleanfalseFollow upward links
allowExternalLinksbooleanfalseFollow external links

map

Discover URLs via sitemaps and link extraction.

ParameterTypeDefaultDescription
urlstringRequired. Site URL
searchstringFilter query
ignoreSitemapbooleanfalseSkip sitemap.xml
includeSubdomainsbooleantrueInclude subdomains
limitinteger5000Max URLs

Search the web via DuckDuckGo, optionally scraping results.

ParameterTypeDefaultDescription
querystringRequired. Search query
limitinteger10Number of results
scrapeResultsbooleanfalseScrape each result

extract

Extract structured data from web pages using CSS selectors or LLM-based extraction.

ParameterTypeDefaultDescription
urlsstring[]Required. URLs to extract from (1-10)
schemaobjectJSON Schema for output structure
promptstringNatural language extraction prompt
selectorsobjectCSS selector mappings
modestring"auto""auto", "css", or "llm"
llmBaseUrlstringOpenAI-compatible API URL
llmModelstringLLM model name
llmApiKeystringLLM API key

llmstxt

Generate llms.txt and llms-full.txt from a documentation website.

ParameterTypeDefaultDescription
urlstringRequired. Website URL
maxUrlsinteger20Max pages to process
llmBaseUrlstringLLM API URL for descriptions
llmModelstringLLM model name
llmApiKeystringLLM API key
showFullTextbooleantrueInclude full page content

Next Steps

  • MCP Setup Guide — configure Claude Desktop, Claude Code, Cursor, and more

On this page