# Add MarkItDown to Claude Desktop

> Generate the markitdown-mcp config for Claude Desktop, find the file on Windows and macOS, restart and test. The server was tested; the desktop app was not.

Source: https://markitdown.dev/mcp/claude-desktop/ · Updated 2026-11-15·Upstream source ↗

After this setup Claude Desktop can ask a small program on your own computer to turn a PDF, Word, Excel or PowerPoint file into text. That program is `markitdown-mcp`, which runs locally. Be aware of what we did and did not test: we ran the server and other MCP clients in a Linux lab, but we did not run Claude Desktop, so the app's menus and file locations below come from its documentation and are marked as such.

> **Short answer**
>
> Three things: have `uv` installed, paste the block from the generator into Claude Desktop's config file, and **quit Claude Desktop completely** before reopening it. The command that block runs is the one we tested with another client:
> 
> ```bash
> uvx --prerelease=allow markitdown-mcp==0.0.1a8
> ```
> 
> If the app cannot find `uvx`, give the full path to it in the generator.

Tested with markitdown 0.1.9 · Python Server side tested in a Linux lab (markitdown-mcp 0.0.1a8, T13). Claude Desktop itself was NOT run: no Windows or macOS desktop was available to us · 2026-11-15 · evidence: [server-probe.log](https://markitdown.dev/evidence/T13/server-probe.log), [uvx-probe.log](https://markitdown.dev/evidence/T13/uvx-probe.log), [mcp-clients.json](https://markitdown.dev/data/mcp-clients.json)

> **What we tested and what we did not:** Tested: the server itself, and the uvx command, with Claude Code, in a Linux lab. Not tested by us: Claude Desktop on Windows or macOS, its menus, and its config file location. If something below does not match your app, trust your app and see the server page.

## Before you start

You need Claude Desktop and `uv` (a Python launcher). `uvx` downloads and runs the server on first use, so the first start takes a while; we did not time it. Install uv with the command for your system ([install page](https://markitdown.dev/install/) has the tested commands for MarkItDown itself).

## Step 1: Generate the block

MCP Config Generator

The interactive generator needs JavaScript. This is the default: Claude Code, the uvx launcher (tested), and the generic JSON shape (not tested by us).

```
claude mcp add markitdown -- uvx --prerelease=allow markitdown-mcp==0.0.1a8
```

```
{
  "mcpServers": {
    "markitdown": {
      "command": "uvx",
      "args": [
        "--prerelease=allow",
        "markitdown-mcp==0.0.1a8"
      ]
    }
  }
}
```

Client

Operating system

Launcher

Transport

Scope

Options

Full path to the command (optional) Example file for the test prompt (optional)

markitdown-mcp 0.0.1a8 · entries checked 2026-11-15 · runs in your browser, the paths you type are never sent anywhere

Keep **uvx** unless you already installed `markitdown-mcp`. If you installed it, put its full path in the box, because a desktop app does not always see the PATH your terminal has.

## Step 2: Open the config file

In Claude Desktop, according to its documentation, the path is Settings, Developer, Edit Config. The file itself is `claude_desktop_config.json`:

| System | Location (from the documentation, not tested by us) |
| --- | --- |
| Windows | `%APPDATA%\Claude\claude_desktop_config.json` |
| macOS | `~/Library/Application Support/Claude/claude_desktop_config.json` |

If the file already contains a `mcpServers` object, add the `markitdown` entry inside it. Do not paste a second `{ ... }` block: that makes the file invalid JSON and the app will not start the servers.

## Step 3: Restart completely

Closing the window is not enough; quit the app (on macOS from the menu, on Windows from the tray icon), then start it again. Look for the tools or servers list in a new chat.

## Step 4: Test it

The server's tool takes a **URI**, not a plain path. In our test a plain path was rejected with `Unsupported URI scheme`, while a `file:///` URI converted. Claude normally builds the URI for you, but if you name a file, mention that it is on your computer. The generator's test prompt includes an example.

A successful call returns the whole document as text. Large documents are returned whole (a 200-page PDF was about 850,000 characters), so a client's own limit may stop them ([response sizes](https://markitdown.dev/mcp/)).

## If it does not appear

1.  **Run the server yourself.** Paste the command into a terminal: it should start and wait. If it prints an error, fix that first. In our test `uvx markitdown-mcp==0.0.1a8` failed on an older uv until `--prerelease=allow` was added; the generator includes it.
2.  **Check the JSON.** A trailing comma or a second top-level object stops everything.
3.  **The command is not found.** Use the full path to `uvx` (`where uvx` on Windows, `which uvx` on macOS).
4.  **Files:** with `uvx` the server can read anything your user can read; Claude can ask it to. Only connect clients you trust.

We did not test Docker, so this page does not give a Docker route.

## Related

- [MCP server](https://markitdown.dev/mcp/): What the server is, its limits and the other launchers.
- [Install MarkItDown](https://markitdown.dev/install/): Installing MarkItDown itself.
- [OCR and scanned files](https://markitdown.dev/ocr/): Scanned documents return nothing.

---
Independent guide to the open-source MarkItDown library. Not affiliated with or endorsed by Microsoft. Official source: https://github.com/microsoft/markitdown
