Labsco
0ics-srls logo

xmp4

from 0ics-srls

See how OSS libs in your stack are really used: source, tests, callers. C#, Java, TS, Python, Rust, PHP+.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

LSAI + xmp4 ยท example4.ai

Your AI gets the compiler's eyes on your code and every library you use.

LSAI gives your AI agent live, compiler-grade intelligence on the code you're writing.xmp4 gives it the same on 900+ OSS libraries and 15,852 projects, pre-indexed. Together: the AI sees everything the compiler sees โ€” no grep, no guessing, no blind spots.

Install LSAI (your code) Connect xmp4 (libraries) See how they work together โ†“

Both free ยท Both open protocol (MCP) ยท Work with Claude Code, Cursor, VS Code

the tandem in one picture

โ†’ lsai_callees("PublishAsync") โ†’ xmp4_source("GetRequiredService")

your code ยท live ยท local your code + libraries ยท ~1,500 tokens 900+ libraries ยท pre-indexed

9

Languages (LSAI)

14

MCP tools (LSAI)

0

Libraries (xmp4)

0

Projects navigable (xmp4)

0

MCP tools (xmp4)

0

Languages (xmp4)

The full picture

Two lenses. One pair of glasses.

๐Ÿ”ฌ

LSAI โ€” Your code, live

Install once. Your AI gets compiler-grade intelligence on the codebase you're actively developing โ€” callers, impact, hierarchy, rename.

  • "Who calls my ProcessOrder method?" โ†’ 15 callers, exact lines

  • "What breaks if I change PublishAsync?" โ†’ 27 tests, risk: MEDIUM

  • "Show me the inheritance chain of BaseService" โ†’ full hierarchy

  • "Rename userId safely across the workspace" โ†’ done, all references updated

14 tools ยท 9 languages ยท runs on your machine ยท zero cloud

๐ŸŒ

xmp4 โ€” Every library, pre-indexed

One line in your MCP config. Your AI navigates 900+ OSS libraries with type-resolved precision โ€” callers, source, hierarchy, tests.

  • "How does MongoClient.connect() work?" โ†’ full source + 26 callers

  • "Show me who calls app.route in Flask" โ†’ typed call sites

  • "What's the hierarchy of Matrix in Eigen?" โ†’ compiler-resolved

  • "Find tests for S3Client.PutObject" โ†’ real test files

17 tools ยท 12 languages ยท 900+ libraries ยท 15,852 projects ยท free

LSAI tells you "your PublishAsync calls GetRequiredService" . xmp4 shows you how GetRequiredService is implemented in dotnet/runtime . Your AI never guesses. It knows .

In action

One question. Both lenses.

Developer asks: "What does my PublishAsync call, and how does that dependency work?"

LSAI Step 1 โ€” What does MY code call?

lsai_callees("PublishAsync")

โ†’ CreateScope() โ€” PublishService.cs:22 โ†’ GetRequiredService โ€” PublishService.cs:23 โ†’ Where โ€” PublishService.cs:74

โ†“ the AI now knows which library API to investigate

xmp4 Step 2 โ€” How does that LIBRARY API work?

xmp4_source("GetRequiredService", project="dotnet/runtime")

โ†’ public interface ISupportRequiredService { object GetRequiredService(Type serviceType); } // Implementation in ServiceProviderServiceExtensions.cs: // Throws InvalidOperationException if service not registered

โ†“ the AI now has the full picture

LSAI Step 3 โ€” What's the risk of changing it?

lsai_impact("PublishAsync")

โ†’ MEDIUM risk โ€” 15 references, 15 callers, 27 tests affected Tests: PublishServiceTests, V32SpecComplianceTests, PublishSearchVectorTests... All tests named, all lines numbered.

Benchmark

Same answer. 42ร— cheaper.

xmp4 vs alternatives โ€” Task: "Give me the signature, body, and real callers of X"

Measured on 4 tier-1 libraries: spring-boot, tokio, django, efcore

xmp4

1,558 tok

grep + clone

47,200 tok

GitMCP

65,629 tok

Context7

โˆž no source

42.1ร— fewer tokens than GitMCP ยท 30ร— fewer than grep+clone ยท Context7 can't answer (docs only) ยท Full whitepaper โ†’

Coverage

Nine languages live. Both products.

Language LSAI xmp4 search callers hierarchy source impact rename C# โ— โ— โ— โ— โ— โ— โ— โ— TypeScript โ— โ— โ— โ— โ— โ— โ— โ— Python โ— โ— โ— โ— โ— โ— โ— โ— Java โ— โ— โ— โ— โ— โ— โ— โ— Rust โ— โ— โ— โ— โ— โ— โ— โ— PHP โ— โ— โ— โ— โ— โ— โ— โ— Go โ— โ— โ— โ— โ— โ— โ— โ— JavaScript โ— โ— โ— โ— โ— โ— โ— โ— C / C++ โ— โ— โ— โ— โ— โ— โ— โ— Ruby โ€” โ— โ— โ— โ— โ— โ€” โ€” Dart โ€” โ— โ— โ— โ— โ— โ€” โ€” Scala โ€” โ— โ— โ— โ— โ— โ€” โ€”

โ— both LSAI + xmp4 ยท โ— LSAI only ยท โ— xmp4 only ยท โ— best-effort ยท โ€” not yet

FAQ

Good questions.

What's the difference between LSAI and xmp4?

LSAI runs on your machine and analyzes your code in real time via LSP servers (Roslyn, jdtls, rust-analyzer, etc.). xmp4 is a cloud service with 900+ pre-indexed OSS libraries via SCIP. Use LSAI for your codebase, xmp4 for third-party libraries. They share the same MCP protocol โ€” your AI uses both seamlessly.

Do I need both?

Each works standalone. xmp4 alone gives your AI deep knowledge of OSS libraries. LSAI alone gives it deep knowledge of your code. Together, the AI has zero blind spots โ€” it can trace a call from your code into a library's internals and back, all with compiler-grade precision.

Is this Sourcegraph?

No. xmp4 consumes SCIP (an open Apache 2.0 indexing format from Sourcegraph) but is an independent product by 0ics srl. LSAI uses standard LSP servers. Neither product is affiliated with Sourcegraph.

Does my code leave my machine?

Never. LSAI runs 100% locally โ€” your code stays on your machine. xmp4 is read-only on public OSS libraries that we indexed. The two communicate with your AI agent via MCP, not with each other.

How is xmp4 different from Context7 or GitMCP?

Context7 serves documentation snippets โ€” no source code, no call graph. GitMCP does text search on GitHub โ€” no type info. xmp4 has the compiler's view: typed callers, real source, class hierarchies. Same answer, 42ร— fewer tokens (measured).

What AI clients are supported?

Any MCP-capable client: Claude Code, Claude Desktop, Cursor, VS Code (with Copilot MCP), Windsurf, Zed, and more. Both LSAI and xmp4 speak standard MCP.

Can I request a library for xmp4?

Open a request on GitHub. Popular OSS libraries are added within a day.

Add to .mcp.json (once)

{ "mcpServers": { "lsai": { "command": "~/.lsai/run", "args": ["--stdio"] } } }

Done. cd into your project, launch claude.

xmp4 โ€” every library

One line in your MCP config. No install. No API key.

Add to .mcp.json (Claude Desktop, Cursor, VS Code)

{ "mcpServers": { "xmp4": { "type": "http", "url": "https://mcp.example4.ai/mcp" } } }