react-native-docs-mcp

by sannnao

Not rated
GitHub

About

Local semantic search over React Native docs for AI agents — no API key

Details

Author
sannnao
Categories
Developer Tools, Knowledge Base, Other

Setup

Install react-native-docs-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/sannnao/react-native-docs-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

Local semantic search over React Native docs for AI agents — no API key

AI-powered semantic search over React Native documentation for Claude, Cursor, and other MCP clients.

Looking for React docs instead? Seereact-docs-mcp.

claude mcp add --transport stdio react-native-docs -- npx react-native-docs-mcp

Edit:~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows)

{ "mcpServers": { "react-native-docs": { "command": "npx", "args": ["-y", "react-native-docs-mcp"] } } }

SettingsCursor settingsTools and MCP→ Add server:

{ "mcpServers": { "react-native-docs": { "command": "npx", "args": ["-y", "react-native-docs-mcp"] } } }

That's it!Restart your editor and ask about React Native.

- 🔑 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-native-website docs 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 withnpx- 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 react-native-website repo automatically
- 📌 Version Pinning:--docs-version=0.77scopes docs to the React Native release your app actually uses

Once configured, the server provides the following capabilities to AI agents:

Search across React Native documentation.

- query(required): Search query string
- section(optional): Filter by section (the-new-architecture, legacy, releases)
- limit(optional): Maximum number of results (default: 10, max: 50)

Search for "flexbox layout" in React Native docs

- path(required): Document path (e.g., "getting-started", "the-new-architecture/using-codegen")
- full(optional): Return the full raw page instead of the ~1500 char summary (default: false)

Get the React Native flexbox documentation

Whyfull?The default summary is enough for most reference pages, but long guides — like "The New Architecture" migration docs, or a full native-modules walkthrough — can run well past 1500 chars, and the summary may stop before the part you actually need. Ask for the complete page when that happens:

Get the full page for the-new-architecture/using-codegen, I need every step

which callsget_docwith{ "path": "the-new-architecture/using-codegen", "full": true }.

List all available documentation sections.

Pull latest documentation from the Git repository.

By default this server indexes the always-currentdocs/folder from the react-native-website repo — the same docs shown on reactnative.dev today. To pin it to a specific past release's frozen docs snapshot instead, pass--docs-version:

npx react-native-docs-mcp --docs-version=0.77

or set theREACT_NATIVE_DOCS_VERSIONenv var (the CLI flag wins if both are set). With Claude Code:

claude mcp add --transport stdio react-native-docs -- npx react-native-docs-mcp --docs-version=0.77

(Bare--versionprints the package version, as you'd expect from any CLI.)

Why pin a version?If your app is running React Native 0.77 but the agent searches always-current docs, it can suggest an API that only exists in 0.86, or miss that something was renamed/removed since your version. Pinning--docs-versionto match yourreact-nativedependency's version keeps suggestions consistent with the APIs actually available in your app — useful when working on an app that's a few releases behind latest, or when debugging something version-specific (e.g. "did this New Architecture behavior change between 0.78 and 0.82?" — run two instances, one per version, and compare).

Onlylatest(the default) is fully verified against the current docs structure; older version snapshots are indexed best-effort with the same settings.

The server exposes documentation as resources with the URI pattern:

- Docs source: content is cloned from the unversioneddocs/folder infacebook/react-native-website, which is upstream's live editing source. It may occasionally be a few days ahead of the latest published release rather than pinned to a specific React Native version.
- Sections: most React Native docs pages live flat at the root ofdocs/with no meaningful section — onlythe-new-architecture,legacy, andreleasesare real subfolders. Thesectionfilter reliably narrows results only for those three; for everything else, search unfiltered.
- Blog posts:website/blog/is not indexed yet.
- MDX rendering:.mdx-only syntax (JSX component imports, admonitions) is stripped as best-effort plain text for search indexing, so snippets/summaries for some pages may include stray import lines.

This package shares its engine withreact-docs-mcp— development happens in that monorepo (this standalone repo is a read-only mirror ofpackages/react-native-docs-mcp/; please file issues there). This package's own source only configures the shared engine with React Native-specific defaults (src/index.ts) and is bundled standalone withtsup.

npm install npm run build npm run dev # run directly with tsx, no build step

MIT. React Native documentation content is © Meta Platforms, Inc. and licensed separately by thereact-native-websiteproject.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

MCP server for Apache AGE graph databases on PostgreSQL. 21 MCP tools — the most comprehensive Apache AGE MCP server (graph CRUD, Cypher queries, batch transactions, semantic search, Graph RAG, vis.js visualization, export/import) - F#/.NET — the only non-Python Apache AGE MCP server, installs as a single dotnet tool - Production-grade — BenchmarkDotNet-verified performance (cached queries in 62 ns, Cypher in 1 ms) - Open source — MIT license, published on NuGet - Documentation — full docs site at neftedollar.com/age-mcp

Semantic search for Hex package documentation. Requires local Elixir and Mix installation.

Retrieve and process documentation using vector search to provide context for AI assistants.

Retrieve and process documentation using vector search to provide relevant context for AI assistants.

Search and query Teleport's documentation using embeddings stored in a local Chroma vector database.

A Retrieval-Augmented Generation (RAG) server for document processing, vector storage, and intelligent Q&A, powered by the Model Context Protocol.

Local code analysis MCP server with 25+ tools: semantic search, call graph tracing, dependency analysis, and symbol navigation. Built with Tree-sitter and CozoDB. Supports Go, Python, JS, TS.

A local-first code indexer that enhances LLMs with deep code understanding. It integrates with AI assistants via the Model Context Protocol (MCP) and supports AI-powered semantic search.

Codebase memory for coding agents, with no embeddings and no API key. A deterministic AST index answers "which files are relevant to this task?" in milliseconds, and agents write durable notes about the repo that are content-hash checked — a note flags itself stale the moment the code it describes changes. Notes are markdown inside the repo, so they commit and review alongside your code.

A server for managing structured project context using SQLite, with support for vector embeddings for semantic search and Retrieval Augmented Generation (RAG).

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.