Two MCP servers that give your AI the compiler's eyes — one for your code (LSAI), one for 900+ OSS libraries (xmp4)
I've been building two MCP servers for the past 7 months and I think they solve a problem most AI coding agents have: they grep and guess instead of actually understanding code.
The problem
When your AI needs to answer "who calls this method?", "what breaks if I change this?", or "how does this library API work?" — the default path is grep → read 50 files → re-rank → guess. On any serious codebase that's 40-60k tokens of noise per question, most of it irrelevant string matches.
The solution: two MCP servers, one tandem
LSAI — your code, live
Runs locally. Wraps real LSP servers — Roslyn for C#, rust-analyzer, jdtls for Java, typescript-language-server, gopls, ty for Python, clangd for C++, intelephense for PHP. 9 languages, 14 MCP tools.
{"mcpServers":{"lsai":{"command":"~/.lsai/run","args":["--stdio"]}}}
Install: curl -fsSL https://github.com/0ics-srls/Zerox.Lsai.Public/releases/latest/download/install.sh | bash
What your AI gets:
lsai_callers→ "15 callers, exact file:line"lsai_impact→ "MEDIUM risk, 27 tests affected"lsai_hierarchy→ full inheritance chainlsai_rename→ safe rename across workspace
xmp4 — every library, pre-indexed
900+ OSS libraries already indexed across 12 languages. 15,000+ navigable projects. 17 MCP tools. No install, no API key:
{"mcpServers":{"xmp4":{"type":"http","url":"https://mcp.example4.ai/mcp"}}}
Real source, typed callers, hierarchy, tests — for libraries like spring-boot, django, tokio, express, EF Core, Flask, and hundreds more.
How they work together
LSAI tells your AI "your PublishAsync calls GetRequiredService" (your code). xmp4 shows how GetRequiredService is implemented in dotnet/runtime (the library). The AI traces calls from your code into library internals and back — no grep, no cloning, no guessing.
Token usage on exploration: ~1,500 instead of ~50,000. Measured on real tasks across 4 tier-1 libraries — full whitepaper here.
Links
- 🌐 example4.ai — landing page with full info
- 📦 LSAI on GitHub — install + docs
- 🔌 xmp4 on MCP Registry — search "xmp4"
- 🎬 Demo video (VS extension variant)
Works with Claude Code, Cursor, VS Code, Claude Desktop — any MCP client.
Both free, actively developed. Happy to answer questions!