Skip to content
MCP server

Qt4 Doc MCP Server

Offline MCP server for local Qt 4.8, Qt 5, and Qt 6 documentation with full-text search.

Install
Pricing
Open source
Runs
Remotely
Version
0.7.0
Listing updated
5 days ago

About Qt4 Doc MCP Server

Qt4 Doc MCP Server is an open-source MCP server. It runs as a hosted remote server, so there is nothing to install locally.

Install

Run in a terminal

claude mcp add qt4-doc-mcp-server --env QT_DOC_BASE='<QT_DOC_BASE>' -- uvx qt4-doc-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "qt4-doc-mcp-server": {
      "command": "uvx",
      "args": [
        "qt4-doc-mcp-server"
      ],
      "env": {
        "QT_DOC_BASE": "<QT_DOC_BASE>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "qt4-doc-mcp-server": {
      "command": "uvx",
      "args": [
        "qt4-doc-mcp-server"
      ],
      "env": {
        "QT_DOC_BASE": "<QT_DOC_BASE>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "qt4-doc-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "qt4-doc-mcp-server"
      ],
      "env": {
        "QT_DOC_BASE": "<QT_DOC_BASE>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "qt4-doc-mcp-server": {
      "command": "uvx",
      "args": [
        "qt4-doc-mcp-server"
      ],
      "env": {
        "QT_DOC_BASE": "<QT_DOC_BASE>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "qt4-doc-mcp-server": {
      "command": "uvx",
      "args": [
        "qt4-doc-mcp-server"
      ],
      "env": {
        "QT_DOC_BASE": "<QT_DOC_BASE>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • QT_DOC_BASEAbsolute path to a local Qt 4.8, Qt 5, or Qt 6 HTML documentation root (required)Required
  • QT_DOC_STATE_DIRWritable directory for the search index and Markdown cache (default: $QT_DOC_BASE/.index; set when the documentation root is read-only)
  • SERVER_HOSTServer bind address (default: 127.0.0.1)
  • SERVER_PORTServer port (default: 8000)

Pricing

Open source

Qt4 Doc MCP Server FAQ

Is Qt4 Doc MCP Server free?

Yes. Qt4 Doc MCP Server is open source, so you can use and self-host it for free.

How do I add Qt4 Doc MCP Server to Claude Code?

Run this command in your terminal: claude mcp add qt4-doc-mcp-server --env QT_DOC_BASE='<QT_DOC_BASE>' -- uvx qt4-doc-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers