Skip to content
MCP server

Lexicon

MCP server that corrects misheard names and jargon in dictated prompts before agents act

Runs locallyStatus and history
Pricing
Free
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.5.4
Listing updated
1 day ago

About Lexicon

Lexicon is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

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

Add to claude_desktop_config.json

{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "@ashlr/lexicon"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

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

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

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

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

Configuration

  • LEXICON_PATHPath to the global lexicon YAML. Defaults to $XDG_CONFIG_HOME/lexicon/lexicon.yaml, else ~/.config/lexicon/lexicon.yaml.
  • LEXICON_CWDDirectory used to locate the project .lexicon.yaml. Defaults to the server process working directory.

What it does

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

Pricing

Free

Free; no paid plan mentioned

Prices change. Check lexicon.ashlr.ai before you buy.

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 to Lexicon

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ha MCP

    MCP server

    MCP server for managing and automating Home Assistant from AI assistants

    Runs locally
    • 8 tools
    • Open source
    • 7.9K GitHub stars
    • Productivity