Provides alternative installation method using Bun package manager for users experiencing issues with NPX
Offers alternative runtime environment for running the Docfork MCP server when users encounter bundler issues
Supports containerized deployment of the Docfork MCP server with a provided Dockerfile configuration
Provides up-to-date documentation and examples for Next.js development, specifically mentioned in usage examples
Requires Node.js ≥ v18 as runtime environment, with native fetch API support
Docfork: 🌿 Fresh docs for your AI Code Editor
@latest docs for 9000+ libraries in your AI code editor, with a single MCP.
❌ The Problem: Expired Knowledge
- Out of date code & stale data
- API ghost towns & hallucinations
- Old or mismatched versions
✅ The Solution: Fresh docs at warp speed
- Always in sync with the latest version of docs
- Accurate descriptions and code examples
- Sub-second retrieval results in your AI code editor
Just tell Cursor to use docfork
🛠️ Get Started in Seconds
📋 Requirements
- Node.js ≥ v18
- Cursor/Windsurf/Claude Desktop (any MCP client)
⚡ Install in Cursor
or manually:
Settings
->Cursor Settings
->MCP Tools
- Add New MCP Server
- Or configure per-project via
.cursor/mcp.json
Recommended Setup:
Add this to your global ~/.cursor/mcp.json
(or per-project in ./.cursor/mcp.json
):
Cursor Remote Server Connection
Cursor Local Server Connection
Installing via Smithery
To install Docfork MCP Server for any client automatically via Smithery:
You can find your Smithery key in the Smithery.ai webpage.
Install in Windsurf
Add this to your Windsurf MCP config. See Windsurf MCP docs for more info.
Windsurf Remote Server Connection
Windsurf Local Server Connection
Install in VS Code
Add this to your VS Code MCP config. See VS Code MCP docs for more info.
VS Code Remote Server Connection
VS Code Local Server Connection
Install in Zed
One-click install: → Get the Docfork Extension
Or Manual config (for power users):
Install in Claude Code
Run this command. See Claude Code MCP docs for more info.
Claude Code Remote Server Connection
Claude Code Local Server Connection
Install in Claude Desktop
Add this to your Claude Desktop claude_desktop_config.json
file. See Claude Desktop MCP docs for more info.
Install in BoltAI
Open the "Settings" page of the app, navigate to "Plugins," and enter the following JSON:
More info is available on BoltAI's Documentation site. For BoltAI on iOS, see this guide.
Using Docker
If you prefer to run the MCP server in a Docker container:
- Build the Docker Image:First, create a
Dockerfile
in the project root (or anywhere you prefer):Then, build the image using a tag (e.g.,docfork-mcp
). Make sure Docker Desktop (or the Docker daemon) is running. Run the following command in the same directory where you saved theDockerfile
: - Configure Your MCP Client:Update your MCP client's configuration to use the Docker command.Example for a cline_mcp_settings.json:Note: This is an example configuration. Please refer to the specific examples for your MCP client (like Cursor, VS Code, etc.) earlier in this README to adapt the structure (e.g.,
mcpServers
vsservers
). Also, ensure the image name inargs
matches the tag used during thedocker build
command.
Install in Windows
The configuration on Windows is slightly different compared to Linux or macOS (Cline
is used in the example). The same principle applies to other editors; refer to the configuration of command
and args
.
Install in Augment Code
To configure Docfork MCP in Augment Code, follow these steps:
- Press Cmd/Ctrl Shift P or go to the hamburger menu in the Augment panel
- Select Edit Settings
- Under Advanced, click Edit in settings.json
- Add the server configuration to the
mcpServers
array in theaugment.advanced
object
Once the MCP server is added, restart your editor. If you receive any errors, check the syntax to make sure closing brackets or commas are not missing.
Install in Roo Code
Add this to your Roo Code MCP configuration file. See Roo Code MCP docs for more info.
Roo Code Remote Server Connection
Roo Code Local Server Connection
🔧 Environment Variables
The Docfork MCP server supports the following environment variables:
DEFAULT_MINIMUM_TOKENS
: Set the minimum token count for documentation retrieval (default: 10000)
Example configuration with environment variables:
🔨 Available Tools
Docfork MCP provides the following tool that LLMs can use:
get-library-docs
: Searches the library and returns its documentation.libraryName
(required): The name of the library to search fortopic
(required): Focus the docs on a specific topic (e.g., "routing", "hooks")tokens
(optional, default 10000, max 50000): Max number of tokens to return. Values less than the configuredDEFAULT_MINIMUM_TOKENS
value or the default value of 10000 are automatically increased to that value.
Development
Clone the project and install dependencies:
Build:
Local Configuration Example
Testing with MCP Inspector
Troubleshooting
Module Not Found Errors
If you encounter ERR_MODULE_NOT_FOUND
, try using bunx
instead of npx
:
This often resolves module resolution issues in environments where npx
doesn't properly install or resolve packages.
ESM Resolution Issues
For errors like Error: Cannot find module 'uriTemplate.js'
, try the --experimental-vm-modules
flag:
Troubleshooting Common MCP Client Errors
- Append
@latest
to the package name to pull the newest release. - Swap
npx
forbunx
if the command stalls or fails. - Prefer Deno as a drop-in alternative when you hit bundler issues.
- Verify you're on Node.js v18+ so
fetch
is available natively.
⚠️ Disclaimer
Docfork is an open, community-driven catalogue. Although we review submissions, we make no warranties—express or implied—about the accuracy, completeness, or security of any linked documentation or code. Projects listed here are created and maintained by their respective authors, not by Docfork.
If you spot content that is suspicious, inappropriate, or potentially harmful, please contact us.
By using Docfork, you agree to do so at your own discretion and risk.
🌟 Connect with us
Stay in the loop and meet the community:
- 🐦 Follow us on X → @docfork_ai for product news and updates
- 🌐 Visit our Website
Star History
License
MIT
Tools
Provides up-to-date documentation for 9000+ libraries directly in your AI code editor, enabling accurate code suggestions and eliminating outdated information.
- ❌ The Problem: Expired Knowledge
- ✅ The Solution: Fresh docs at warp speed
- 🛠️ Get Started in Seconds
- 🔧 Environment Variables
- 🔨 Available Tools
- Development
- Troubleshooting
- ⚠️ Disclaimer
- 🌟 Connect with us
- Star History
- License
Related Resources
Related MCP Servers
- -securityAlicense-qualityServes as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.Last updated -48752TypeScriptMIT License
- AsecurityAlicenseAqualityFacilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.Last updated -625JavaScriptAGPL 3.0
- AsecurityAlicenseAqualityFacilitates interactive feature discussions with AI guidance, maintaining context and providing intelligent recommendations for implementation, architecture, and best practices in software development.Last updated -21JavaScriptMIT License
- -securityAlicense-qualityProvides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.Last updated -62TypeScriptMIT License