# Qt4 Doc MCP Server

> Qt4 Doc MCP Server is an open-source MCP server. Offline MCP server for local Qt 4.8, Qt 5, and Qt 6 documentation with full-text search. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/jztan/qt4-doc-mcp-server
- **MCP Registry name:** io.github.jztan/qt4-doc-mcp-server
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

---
Source: https://ai-powered.com/mcp/qt4-doc-mcp-server
