farming-labs avatar

Farm.js Docs

farming-labs/farm.js

Search and read the Farm.js docs: pages, sections, code examples and config options.

GitHub stars
704
tools
16
transport
HTTP
last updated
Oct 20, 2026

Install

From registry metadata
$ npx add-mcp https://mcp.farmjs.dev/mcp --name docs

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http docs https://mcp.farmjs.dev/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 16 tools

Verified live against the running server on Nov 6, 2026.

get_code_examplesReturn fenced code examples from the docs with parsed metadata such as title, framework, packageManager, and runnable.8 params

Return fenced code examples from the docs with parsed metadata such as title, framework, packageManager, and runnable.

Parameters* required
frameworkstring
languagestring
limitinteger
localestring
packageManagerstring
pathstring
querystring
runnableboolean
get_config_schemaReturn structured docs.config.ts option metadata, optionally filtered by option path or query.2 params

Return structured docs.config.ts option metadata, optionally filtered by option path or query.

Parameters* required
optionstring
querystring
get_contextBuild deterministic, section-level documentation context for a query within a conservative UTF-8 byte ceiling derived from the requested token budget, with source URLs and accounting metadata.7 params

Build deterministic, section-level documentation context for a query within a conservative UTF-8 byte ceiling derived from the requested token budget, with source URLs and accounting metadata.

Parameters* required
frameworkstring
localestring
packagevalue
query*string
tagsvalue
tokenBudgetinteger
default: 4000
versionstring
get_navigationReturn the documentation navigation tree for the current docs site.1 params

Return the documentation navigation tree for the current docs site.

Parameters* required
localestring
hydrate_content_changesFetch only added and changed agent-facing sections after list_content_changes. Returns deletion tombstones and digest-bound continuation cursors under a conservative token budget.4 params

Fetch only added and changed agent-facing sections after list_content_changes. Returns deletion tombstones and digest-bound continuation cursors under a conservative token budget.

Parameters* required
cursorstring
Opaque nextCursor from the preceding response page.
localestring
since*string
tokenBudgetinteger
default: 5000
list_content_changesSynchronize body-free document metadata. Save indexGeneration and pass it as since on the next poll. A reset response means the named snapshot is no longer available.2 params

Synchronize body-free document metadata. Save indexGeneration and pass it as since on the next poll. A reset response means the named snapshot is no longer available.

Parameters* required
localestring
sincestring
list_docsList documentation pages grouped by section, optionally narrowed to one section.3 params

List documentation pages grouped by section, optionally narrowed to one section.

Parameters* required
cursorstring
Opaque nextCursor from the preceding response page.
localestring
sectionstring
list_page_sectionsDiscover a page's canonical headings, anchors, hierarchy, line ranges, size estimates, and budget-aware fetch URLs without returning the page body.5 params

Discover a page's canonical headings, anchors, hierarchy, line ranges, size estimates, and budget-aware fetch URLs without returning the page body.

Parameters* required
byteBudgetinteger
cursorstring
Opaque nextCursor from the preceding response page.
localestring
path*string
tokenBudgetinteger
list_pagesList the known documentation pages with titles, slugs, and URLs.2 params

List the known documentation pages with titles, slugs, and URLs.

Parameters* required
cursorstring
Opaque nextCursor from the preceding response page.
localestring
list_search_facetsList valid framework, version, package, and tag filters with matching page counts before calling search_docs. Use facet, limit, and cursor to continue a large facet without document bodies.9 params

List valid framework, version, package, and tag filters with matching page counts before calling search_docs. Use facet, limit, and cursor to continue a large facet without document bodies.

Parameters* required
audiencestring
one of human · agent
cursorstring
Opaque nextCursor from the preceding response page.
facetstring
one of framework · version · package · tags
frameworkvalue
limitinteger
localestring
packagevalue
tagsvalue
versionvalue
list_tasksList pages with actionable agent contracts, optionally filtered by text or applicability.6 params

List pages with actionable agent contracts, optionally filtered by text or applicability.

Parameters* required
cursorstring
Opaque nextCursor from the preceding response page.
frameworkstring
localestring
packagestring
querystring
versionstring
read_pageRead a documentation page by slug or URL path, optionally selecting one heading and limiting returned characters.4 params

Read a documentation page by slug or URL path, optionally selecting one heading and limiting returned characters.

Parameters* required
localestring
maxCharsinteger
path*string
sectionstring
read_pagesRead up to 20 documentation pages in one round trip. Results preserve request order and share a conservative UTF-8 token budget.4 params

Read up to 20 documentation pages in one round trip. Results preserve request order and share a conservative UTF-8 token budget.

Parameters* required
localestring
maxCharsPerPageinteger
paths*array
Page slugs or URL paths to read in the requested order.
tokenBudgetinteger
read_taskRead the full structured agent contract for a page by slug or URL path.4 params

Read the full structured agent contract for a page by slug or URL path.

Parameters* required
localestring
maxCharsinteger
path*string
sectionstring
search_docsSearch the docs by keyword with optional framework, version, package, and tag filters. Returns structured ambiguity and metadata warnings.10 params

Search the docs by keyword with optional framework, version, package, and tag filters. Returns structured ambiguity and metadata warnings.

Parameters* required
audiencestring
one of human · agent
cursorstring
Opaque nextCursor from the preceding response page.
explainboolean
Include matched terms, scope decisions, ambiguity, and ranking reasons.
frameworkvalue
limitinteger
localestring
packagevalue
query*string
tagsvalue
versionvalue
submit_feedbackSubmit machine-readable documentation feedback. The payload is validated against the site's configured agent feedback schema before delivery.2 params

Submit machine-readable documentation feedback. The payload is validated against the site's configured agent feedback schema before delivery.

Parameters* required
contextobject
payload*object

Sponsors

Readme

Farm.js

The framework for the web and agents.


View the full README on GitHub

Details

Repository
github.com/farming-labs/farm.js
Website
farmjs.dev
Category
Search & Web Crawling
Transport
HTTP
Registry
MCP registry, active
Resources
10
Tools verified
Nov 6, 2026

Related Search & Web Crawling MCP servers

View all
1coleam00 avatarMCP Mem0coleam00/mcp-mem0Provides persistent AI memory with save, recall, and semantic search across sessions677stars
2elastic avatarElasticsearchelastic/mcp-server-elasticsearchProvides MCP access to Elasticsearch data, enabling index discovery, mappings, searches, and shard information.662stars
3karanb192 avatarReddit MCP Buddykaranb192/reddit-buddy-mcpProvides Reddit browsing, search, and user analytics via MCP for Claude Desktop and AI assistants.649stars
4iannuttall avatarSEO Skilliannuttall/seoSearch Console, Google Analytics and keyword data for your AI agent.622stars
5ikalus1988 avatarMisakanetikalus1988/misakanetFailure-memory layer for coding agents: search evidence-rated failure lessons by error text.561stars
6muvon avatarOctocodemuvon/octocodeAI-powered code indexer with semantic search and knowledge graphs522stars