Native AL Language Server Support in Claude Code
The author has built a Claude Code plugin that connects it to the AL Language Server used by the VS Code AL extension. This gives Claude Code symbol-aware navigation of Business Central AL projects, such as Go to Definition, Find References, hover info and call hierarchy, instead of searching files as plain text. Setup needs Claude Code 2.1.0 or later, the VS Code AL extension, Python 3.10 or later, and the ENABLE_LSP_TOOL environment variable.
Open in Claudehttps-sshadows-dk-blog-al-language-server-claude-code--7a55dd8100.mdRead the original on SShadowS

Key points
- LSP integration gives Claude Code access to symbol awareness, navigation, and understanding of relationships between AL objects without regex pattern matching
- Provides features like Go to Definition, Find References, hover information, call hierarchy, and workspace symbol search across entire projects
- Native integration is Claude Code-specific with tighter integration and zero-config setup, complementing the universal Serena MCP approach for other AI assistants
- Requires Claude Code 2.1.0+, VS Code AL extension, Python 3.10+, and standard AL project structure with app.json
- Installation involves enabling LSP Tool environment variable and adding the al-language-server-python plugin via Claude Code marketplace
Quotes
- “This is the actual Microsoft AL compiler understanding your code.” (Emphasizes that LSP provides genuine code understanding, not pattern matching, enabling accurate navigation and relationship discovery)
- “The difference is like asking someone to find a book in a library by reading every page versus using the catalog system.” (Clarifies the fundamental advantage of LSP over text-based approaches for code navigation and reference finding)
- “Claude can now navigate your code like a developer would.” (Demonstrates the practical outcome: AI assistants gain developer-level code comprehension for Business Central projects)
Heads up
- warning: “Claude Code 2.1.0 or later. Earlier versions have a bug that prevents built-in LSPs from working.”
- preview-disclaimer: “This is because even as LSPs are now supported, I think they are not production-ready in all instances, hence the active activation”
Context
- Features: Language Server Protocol integration, Go to Definition, Find References, Document symbols, Workspace symbols, Hover information, Call hierarchy, Multi-project support
- Versions: Claude Code 2.1.0
Source: SShadowS, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.