Skip to content
MCP server

Docsworth

Team-owned docs for coding agents: review SLAs, a citation gate, and PR-only writes.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.2
Listing updated
2 days ago

About Docsworth

Docsworth is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add docsworth --env DOCSWORTH_KNOWLEDGE_DIR='<DOCSWORTH_KNOWLEDGE_DIR>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y @docsworth/cli

Add to claude_desktop_config.json

{
  "mcpServers": {
    "docsworth": {
      "command": "npx",
      "args": [
        "-y",
        "@docsworth/cli"
      ],
      "env": {
        "DOCSWORTH_KNOWLEDGE_DIR": "<DOCSWORTH_KNOWLEDGE_DIR>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "docsworth": {
      "command": "npx",
      "args": [
        "-y",
        "@docsworth/cli"
      ],
      "env": {
        "DOCSWORTH_KNOWLEDGE_DIR": "<DOCSWORTH_KNOWLEDGE_DIR>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "docsworth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@docsworth/cli"
      ],
      "env": {
        "DOCSWORTH_KNOWLEDGE_DIR": "<DOCSWORTH_KNOWLEDGE_DIR>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "docsworth": {
      "command": "npx",
      "args": [
        "-y",
        "@docsworth/cli"
      ],
      "env": {
        "DOCSWORTH_KNOWLEDGE_DIR": "<DOCSWORTH_KNOWLEDGE_DIR>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "docsworth": {
      "command": "npx",
      "args": [
        "-y",
        "@docsworth/cli"
      ],
      "env": {
        "DOCSWORTH_KNOWLEDGE_DIR": "<DOCSWORTH_KNOWLEDGE_DIR>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Configuration

  • DOCSWORTH_KNOWLEDGE_DIRA local clone of the knowledge repository to serveRequired
  • GITHUB_TOKENYour GitHub token, for your identity and team access when the repository names one in github.repo (otherwise GH_TOKEN, then `gh auth token`)

Pricing

Open source

Docsworth FAQ

Is Docsworth free?

Yes. Docsworth is open source, so you can use and self-host it for free.

How do I add Docsworth to Claude Code?

Run this command in your terminal: claude mcp add docsworth --env DOCSWORTH_KNOWLEDGE_DIR='<DOCSWORTH_KNOWLEDGE_DIR>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y @docsworth/cli