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
urlstring—Required. URL to scrape
formatsstring[]["markdown"]Output formats
enginestring"auto"Engine selection
timeoutMsinteger30000Timeout in milliseconds

crawl

Crawl a website following links.

ParameterTypeDefaultDescription
urlstring—Required. 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
urlstring—Required. Site URL
searchstring—Filter query
ignoreSitemapbooleanfalseSkip sitemap.xml
includeSubdomainsbooleantrueInclude subdomains
limitinteger5000Max URLs

Search the web via DuckDuckGo, optionally scraping results.

ParameterTypeDefaultDescription
querystring—Required. 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)
schemaobject—JSON Schema for output structure
promptstring—Natural language extraction prompt
selectorsobject—CSS selector mappings
modestring"auto""auto", "css", or "llm"
llmBaseUrlstring—OpenAI-compatible API URL
llmModelstring—LLM model name
llmApiKeystring—LLM API key

llmstxt

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

ParameterTypeDefaultDescription
urlstring—Required. Website URL
maxUrlsinteger20Max pages to process
llmBaseUrlstring—LLM API URL for descriptions
llmModelstring—LLM model name
llmApiKeystring—LLM API key
showFullTextbooleantrueInclude full page content

Next Steps

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

On this page