docfork-mcp  by docfork

Real-time documentation context for AI agents and developers

Created 5 months ago
319 stars

Top 84.9% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Docfork MCP tackles the pervasive issue of outdated documentation in AI-powered development tools. It delivers real-time, source-synced documentation and code examples to developers and AI agents, enhancing workflow reliability. The core benefit is ensuring AI assistants access current information, mitigating errors from stale data.

How It Works

This project functions as a Model Context Protocol (MCP) server, fetching the latest documentation and code examples directly from their sources. It integrates with various AI code editors and developer tools, injecting up-to-date context into AI interactions. Docfork MCP provides specialized tools for documentation search and retrieval, enabling AI agents to access precise, current information efficiently.

Quick Start & Requirements

  • Requirements: Node.js ≥ v18 and an MCP-compatible client (e.g., Cursor, VS Code, Claude).
  • Installation: Primarily involves installing docfork via npm/npx and configuring your MCP client with provided JSON snippets. An automated setup via Smithery CLI (npx -y @smithery/cli@latest install @docfork/mcp --client --key) is also offered. Docker installation is supported.
  • Documentation: Extensive client-specific integration guides are detailed in the README.

Highlighted Details

  • Achieves sub-second retrieval (500ms @ p95) for documentation context.
  • Supports a wide ecosystem of AI development tools via the Model Context Protocol (MCP).
  • Offers distinct tools for documentation search (docfork_search_docs) and content retrieval (docfork_read_docs).
  • Includes OpenAI MCP specification-compliant search and fetch tools for ChatGPT.

Maintenance & Community

Described as an "open, community-driven catalogue," Docfork MCP maintains a presence on X (Twitter) and a website. Specific details on core contributors, sponsorships, or formal community channels like Discord/Slack are not provided in the README.

Licensing & Compatibility

Released under the MIT license, which permits broad compatibility, including commercial use and integration into closed-source projects without significant restrictions.

Limitations & Caveats

Docfork MCP explicitly disclaims warranties for the accuracy, completeness, or security of its provided documentation, noting that content is maintained by its respective authors. Users proceed at their "own discretion and risk." Troubleshooting highlights potential environmental setup challenges (module resolution, Node.js versions) requiring advanced configuration.

Health Check
Last Commit

3 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
144 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.