# Lexicon

> Lexicon is a free MCP server for developer tools. MCP server that corrects misheard names and jargon in dictated prompts before agents act. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, macOS, Linux, Windows, Chrome extension, firefox-extension
- **Website:** https://lexicon.ashlr.ai
- **Repository:** https://github.com/ashlrai/lexicon
- **MCP Registry name:** io.github.ashlrai/lexicon
- **Categories:** developer tools, productivity
- **Listing updated:** 2026-11-16

## About

Lexicon is one YAML file of the brands, people, products and acronyms you say aloud. It is not a dictation app: it sits between your existing speech-to-text tool and the agent, rewriting the transcript using aliases and phonetic matching, for example turning an odd rendering of a company name into the correct spelling. A global file lives in ~/.config/lexicon, and a project-level .lexicon.yaml can hold team vocabulary.

Setup takes about a minute, asks how your company and name are spelled and registers the MCP server with each agent client it finds, including Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, Codex and VS Code. A browser extension corrects text in chat composers before you send, and the site lists sixteen export formats and eight importers for tools like Wispr Flow, Whisper and Deepgram. A diff mode shows each replacement before you trust it. It ships 196 curated starter terms.

## Features

- **YAML vocabulary:** One file of names, aliases and acronyms applied to transcripts.
- **Phonetic matching:** Catches likely misrecognitions beyond listed aliases.
- **Diff preview:** Shows each replacement before it is applied.
- **Client auto-registration:** Installs the MCP server into supported agent clients.
- **Browser extension:** Fixes text in chat boxes before sending, without touching audio.
- **Import and export:** Moves vocabularies to and from dictation tools.

## Good for

- Fix company and product names in dictated coding prompts
- Share project vocabulary with a team
- Move an existing dictation dictionary to another tool
- Check a transcript's corrections before an agent reads it

## Install

### Claude Code (Terminal)

```sh
claude mcp add lexicon -- npx -y @ashlr/lexicon
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "lexicon": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
```

## FAQ

### Is it a dictation app?

No. It works on the transcript your existing speech-to-text produces.

### Does it send my text anywhere?

The site says the in-browser demo sends nothing, and the extension never touches audio.

### How do I install it?

Run npx @ashlr/lexicon@latest setup, or use Homebrew, npm or the Claude Code plugin.

### Which clients does it support?

Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, Codex, VS Code and generic MCP clients.

### Is Lexicon free?

Yes. Lexicon is free to use.

### How do I add Lexicon to Claude Code?

Run this command in your terminal: claude mcp add lexicon -- npx -y @ashlr/lexicon

### What are the best alternatives to Lexicon?

The closest alternatives to Lexicon are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/lexicon-2
