react-hook-form-docs-mcp

react-hook-form-docs-mcp

Enables AI-powered semantic search over React Hook Form documentation, allowing users to query and retrieve relevant documentation pages without an API key, running locally with offline support.

Category
Visit Server

README

<p align="center"> <img src="https://raw.githubusercontent.com/Sannnao/react-docs-mcp/master/poster.png" width="100%" alt="React Hook Form Docs MCP"> </p>

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-mcp

Claude 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.


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 string
  • section (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 guide

list_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 exit

Resources

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 step

License

MIT. React Hook Form documentation content is licensed separately by the react-hook-form/documentation project.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured