# Mort MCP

> Mort MCP is an open-source MCP server. Write, type-check and run Mort code, with language spec and stdlib lookup. It runs locally on your machine and is started by your AI client.

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

## About

Write, type-check and run Mort code, with language spec and stdlib lookup.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mort-mcp -- uvx mort-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mort-mcp": {
      "command": "uvx",
      "args": [
        "mort-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mort-mcp": {
      "command": "uvx",
      "args": [
        "mort-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mort-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mort-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mort-mcp": {
      "command": "uvx",
      "args": [
        "mort-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mort-mcp": {
      "command": "uvx",
      "args": [
        "mort-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Mort MCP free?

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

### How do I add Mort MCP to Claude Code?

Run this command in your terminal: claude mcp add mort-mcp -- uvx mort-mcp

## 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/mort-mcp
