react-hook-form-docs-mcp
Provides semantic search over React Hook Form documentation, allowing AI agents to query and retrieve documentation pages about React Hook Form APIs and guides.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@react-hook-form-docs-mcpSearch React Hook Form docs for 'useFormContext'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
React Hook Form Docs MCP Server
AI-powered semantic search over React Hook Form documentation for Claude, Cursor, and other MCP clients.
Also available: react-docs-mcp (React) and react-native-docs-mcp (React Native) β same engine.
π Installation (One Command)
Claude Code
claude mcp add --transport stdio react-hook-form-docs -- npx react-hook-form-docs-mcpClaude Desktop
Edit: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"react-hook-form-docs": {
"command": "npx",
"args": ["-y", "react-hook-form-docs-mcp"]
}
}
}Cursor
Settings β Cursor settings β Tools and MCP β Add server:
{
"mcpServers": {
"react-hook-form-docs": {
"command": "npx",
"args": ["-y", "react-hook-form-docs-mcp"]
}
}
}That's it! Restart your editor and ask about React Hook Form.
Related MCP server: Docs Query MCP
Features
π No API Key: Unlike hosted docs services (Context7, GitMCP), everything runs on your machine β no account, no key, no rate limits
π Works Offline: Clones the official react-hook-form documentation repo once, then searches locally β no network calls at query time
π Semantic Search: AI-powered search using embeddings for conceptual matches
β‘ Fast Results: In-memory vector search with hybrid keyword+semantic ranking
π¦ Zero Config: Works with
npx- no installation neededπ€ Local AI: Runs embeddings locally (no API costs)
π Concise Responses: Returns summaries instead of full documentation
π Auto-sync: Pulls latest docs from the official documentation repo automatically
Usage
Once configured, the server provides the following capabilities to AI agents:
Tools
search_react_hook_form_docs
Search across React Hook Form documentation.
Parameters:
query(required): Search query stringsection(optional): Filter by section (docsβ the API reference; guides like get-started live at the root, so search unfiltered by default)limit(optional): Maximum number of results (default: 10, max: 50)
Example:
Search React Hook Form docs for "validate a field against another field"get_doc
Get a specific documentation page.
Parameters:
path(required): Document path (e.g., "docs/useform", "get-started")full(optional): Return the full raw page instead of the ~1500 char summary (default: false)
Why full? The default summary covers most API lookups, but long guides β Advanced Usage, the v7βv8 migration guide β can run past 1500 chars. Ask for the complete page when the summary cuts off:
Get the full content of the React Hook Form advanced usage guidelist_sections
List all available documentation sections.
update_docs
Pull latest documentation from the Git repository.
CLI
npx react-hook-form-docs-mcp --version # print the installed package version and exitResources
The server exposes documentation as resources with the URI pattern:
react-hook-form-docs://{section}/{path}Limitations
Sections: only
docs/(the API reference) is a real section; guide pages (get-started, advanced-usage, faqs, ts, migrate-v7-to-v8) live at the content root β search unfiltered to cover everything.MDX rendering:
.mdx-only syntax (JSX component imports) is stripped as best-effort plain text for search indexing, so snippets for some pages may include stray import lines.
Development
This package shares its engine with react-docs-mcp β development happens in that monorepo (this standalone repo is a read-only mirror of packages/react-hook-form-docs-mcp/; please file issues there). This package's own source only configures the shared engine with React Hook Form-specific defaults (src/index.ts) and is bundled standalone with tsup.
npm install
npm run build
npm run dev # run directly with tsx, no build stepLicense
MIT. React Hook Form documentation content is licensed separately by the react-hook-form/documentation project.
This server cannot be deployed
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation forβ¦
Search your knowledge bases from any AI assistant using hybrid RAG.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analyβ¦
Related MCP Servers
- AlicenseAqualityAmaintenancePrivacy-first local document search using semantic search. Runs entirely on your machine with no cloud services, supporting PDF, DOCX, TXT, and Markdown files.2293,286 npm396MIT
- AlicenseNot gradedqualityDmaintenanceEnables semantic search and retrieval over local Markdown/MDX documentation using Node.js-based embeddings. Supports multi-language documentation with offline vector indexing and MCP tool exposure for AI assistants.37 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform semantic, hybrid, and filtered search on indexed local documentation with RAG capabilities.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform semantic search over React Native documentation, retrieve specific pages, and manage doc versions locally without API keys.9 npmMIT