MCP Language

v1.0.0Developer Toolsstable

mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.

ailanguage-server-protocolmcpmcp-servermodel-context-protocol
Share:
1,532
Stars
0
Downloads
0
Weekly
0/5

What is MCP Language?

MCP Language is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp-language-server gives mcp enabled clients access semantic tools like get definition, references, rename, and diagnostics.

mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • mcp-language-server gives MCP enabled clients access semanti

Use Cases

Semantic code tools: definitions, references, rename
LSP integration for AI agents
isaacphi

Maintainer

LicenseBSD-3-Clause
Languagego
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-language

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Language

MCP Language (powered by mcp-language-server) gives MCP-enabled AI clients direct access to semantic code intelligence from any Language Server Protocol implementation. By bridging the gap between LLMs and LSP, it provides tools for precise operations that language models often get wrong on their own: fetching exact symbol definitions, locating all references, running real-time diagnostics, hovering for type information, renaming symbols across an entire project, and making targeted file edits. It supports Go, Rust, Python, TypeScript, C/C++, and any other language with a stdio-compatible language server.

Prerequisites

  • Go 1.21 or higher installed to build the server binary
  • A Language Server Protocol server for your language (gopls, rust-analyzer, pyright, typescript-language-server, clangd, etc.)
  • An MCP-compatible client such as Claude Desktop or Cursor
  • The language server must communicate over stdio (most standard LSP servers do)
1

Install the mcp-language-server binary

Use the Go toolchain to install the server. After this step, the mcp-language-server command will be available in your GOPATH/bin directory.

go install github.com/isaacphi/mcp-language-server@latest
2

Install a language server for your stack

Install the LSP implementation for the programming language you want to work with. You need at least one language server to use this MCP server.

# Go
go install golang.org/x/tools/gopls@latest

# Python
npm install -g pyright

# TypeScript / JavaScript
npm install -g typescript typescript-language-server

# Rust
rustup component add rust-analyzer
3

Configure your MCP client

Add mcp-language-server to your claude_desktop_config.json. Set --workspace to the absolute path of the project you want the language server to index, and --lsp to the name of the language server binary.

{
  "mcpServers": {
    "mcp-language": {
      "command": "mcp-language-server",
      "args": [
        "--workspace", "/absolute/path/to/project",
        "--lsp", "pyright"
      ],
      "env": {
        "PATH": "/usr/local/bin:/usr/bin:/bin"
      }
    }
  }
}
4

Restart your MCP client

Restart Claude Desktop or your chosen MCP client to apply the new configuration and start the language server process.

5

Test semantic tools

Ask your AI client to look up a symbol definition or list diagnostics for a file. If the language server is running correctly you will get precise, compiler-accurate results.

MCP Language Examples

Client configuration

claude_desktop_config.json entry for a Python project using Pyright.

{
  "mcpServers": {
    "mcp-language": {
      "command": "mcp-language-server",
      "args": [
        "--workspace", "/home/user/my-python-project",
        "--lsp", "pyright"
      ],
      "env": {
        "PATH": "/usr/local/bin:/usr/bin:/bin:/home/user/.local/bin"
      }
    }
  }
}

Prompts to try

Sample prompts leveraging the semantic code intelligence tools.

- "Find the definition of the DatabaseClient class in this project"
- "List all references to the process_payment function across the codebase"
- "Are there any type errors or diagnostics in src/models/user.py?"
- "Rename the variable oldConfig to legacyConfig everywhere in the project"
- "What does the hover documentation say about the requests.Session type?"

Troubleshooting MCP Language

mcp-language-server binary not found after go install

Go installs binaries to $(go env GOPATH)/bin. Make sure this directory is in your PATH, or provide the full path in the command field of your MCP config: /home/user/go/bin/mcp-language-server.

Language server exits immediately with no useful output

Add LOG_LEVEL=DEBUG to the env block and check your MCP client's logs. The most common cause is that the language server binary is not on the PATH visible to the MCP server process. Specify the full absolute path to the language server in the --lsp argument.

Diagnostics tool returns no errors even though the code has obvious issues

The language server needs time to index the project on first start. Wait a few seconds and retry. For large projects, also confirm the --workspace path covers the entire project root so all files are indexed.

Frequently Asked Questions about MCP Language

What is MCP Language?

MCP Language is a Model Context Protocol (MCP) server that mcp-language-server gives mcp enabled clients access semantic tools like get definition, references, rename, and diagnostics. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Language?

Follow the installation instructions on the MCP Language GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Language?

MCP Language works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Language free to use?

Yes, MCP Language is open source and available under the BSD-3-Clause license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-language": { "command": "npx", "args": ["-y", "mcp-language"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Language?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides