About
MCP Language Server is a bridge that connects MCP-enabled AI coding assistants to Language Server Protocol (LSP) implementations, giving LLMs access to semantic code intelligence tools. Key capabilities: - Go-to-definition navigation for understanding code structure - Find references across the codebase - Symbol renaming with safe refactoring - Real-time diagnostics and error detection - Support for multiple language servers including gopls (Go), rust-analyzer (Rust), and other LSP-compatible tools - Works with Claude Desktop, Cursor, and other MCP clients
README
MCP Language Server
[](https://github.com/isaacphi/mcp-language-server/actions/workflows/go.yml) [](https://goreportcard.com/report/github.com/isaacphi/mcp-language-server) [](https://pkg.go.dev/github.com/isaacphi/mcp-language-server) [](https://github.com/isaacphi/mcp-language-server/blob/main/go.mod)
This is an MCP server that runs and exposes a language server to LLMs. Not a language server for MCP, whatever that would be.
Demo
mcp-language-server helps MCP enabled clients navigate codebases more easily by giving them access semantic tools like get definition, references, rename, and diagnostics.
Setup
1. Install Go: Follow instructions at
2. Install or update this server: go install github.com/isaacphi/mcp-language-server@latest
3. Install a language server: _follow one of the guides below_
4. Configure your MCP client: _follow one of the guides below_
Go (gopls) Install gopls: go install golang.org/x/tools/gopls@latest Configure your MCP client: This will be different but similar for each client. For Claude Desktop, add the following to ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "language-server": { "command": "mcp-language-server", "args": ["--workspace", "/Users/you/dev/yourproject/", "--lsp", "gopls"], "env": { "PATH": "/opt/homebrew/bin:/Users/you/go/bin", "GOPATH": "/users/you/go", "GOCACHE": "/users/you/Library/Caches/go-build", "GOMODCACHE": "/Users/you/go/pkg/mod" } } } }
Note: Not all clients will need these environment variables. For Claude Desktop you will need to update the environment variables above based on your machine and username:
PATH needs to contain the path to go and to gopls. Get this with echo $(which go):$(which gopls) GOPATH, GOCACHE, and GOMODCACHE may be different on your machine. These are the defaults.
Rust (rust-analyzer) Install rust-analyzer: rustup component add rust-analyzer Configure your MCP client: This will be different but similar for each client. For Claude Desktop, add the following to ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "language-server": { "command": "mcp-language-server", "args": [ "--workspace", "/Users/you/dev/yourproject/", "--lsp", "rust-analyzer" ] } } }
Python (pyright) Install pyright: npm install -g pyright Configure your MCP client: This will be different but similar for each client. For Claude Desktop, add the following to ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "language-server": { "command": "mcp-language-server", "args": [ "--workspace", "/Users/you/dev/yourproject/", "--lsp", "pyright-langserver", "--", "--stdio" ] } } }
Typescript (typescript-language-server) Install typescript-language-server: npm install -g typescript typescript-language-server Configure your MCP client: This will be different but similar for each client. For Claude Desktop, add the following to ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "language-server": { "command": "mcp-language-server", "args": [ "--workspace", "/Users/you/dev/yourproject/", "--lsp", "typescript-language-server", "--", "--stdio" ] } } }
C/C++ (clangd) Install clangd: Download prebuilt binaries from the official LLVM releases page or install via your sys
Related MCP Servers
AI Research Assistant
hamid-vakilzadeh
AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar
Linkup
LinkupPlatform
Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages
Arch Linux [ Not Updated ]
nihalxkumar
Arch Linux MCP Server connects AI assistants to the Arch Linux ecosystem, enabling intelligent access to the Arch Wiki, AUR (Arch User Repository), and official package repositories. Key features: - Search and retrieve Arch Wiki documentation in markdown format via `archwiki://` URIs - Query package details from official repositories (`archrepo://`) and AUR (`aur://*/info`) - Analyze PKGBUILDs with built-in safety checks before installation (`aur://*/pkgbuild`) - Access system package state on Arch systems including installed packages, orphans, explicit packages, and package groups - Works on both Arch and non-Arch systems for documentation lookup and package research - Guided workflows for safe AUR installations and system troubleshooting