xmp4 — Semantic Code Knowledge for Your Stack

Created By
0ics srla month ago
Hosted MCP server that turns 800+ pre-indexed OSS libraries into a semantic code knowledge base for AI agents. Answers symbol-level questions (real source, typed callers, usages, tests, type hierarchies, outline) in a single call — replacing the "clone + grep" workflow when an AI agent needs to understand how a third-party library is actually used. SCIP-backed, 11 languages, free, no API key.
Overview

What is xmp4?

xmp4 is a hosted MCP server (mcp.example4.ai) that exposes 800+ pre-indexed OSS libraries as a semantic code knowledge base. AI agents (Claude, Cursor, Continue, Cline…) connect over Streamable HTTP — no API key, no install — and ask symbol-level questions in a single call.

Why

When an AI agent needs to understand how a third-party library is actually used (real source, who calls what, how it is tested), the typical workflow is git clone + grep + read. That blows up the context window. xmp4 returns the answer pre-indexed in a single MCP call. Token-savings benchmark: 81–87% vs grep (see lsai-protocol/RESULTS.md).

Tools (17)

  • xmp4_search — find symbols by name across a project
  • xmp4_info — signature + docs + location of a symbol
  • xmp4_source — real source code of a symbol
  • xmp4_outline — file structure with names and signatures
  • xmp4_usages — where a symbol is used (grouped by file)
  • xmp4_callers / xmp4_callees — call graph
  • xmp4_hierarchy — inheritance / interface chains
  • xmp4_tests_for — tests that exercise a symbol
  • xmp4_grep — text patterns inside an indexed project
  • xmp4_view — read a file by path
  • xmp4_deps — declared dependencies
  • xmp4_projects — discover available libraries
  • xmp4_symbol_at — symbol at a file:line:col
  • xmp4_guide / xmp4_server — onboarding

Languages

Tier 1: C#, Java, TypeScript, Python, Rust, PHP Tier 2: Go, JavaScript, Dart, Ruby, C++

Endpoint

https://mcp.example4.ai/mcp

Streamable HTTP. No API key. Already on the Official MCP Registry as ai.example4/xmp4, Smithery, Cursor Directory, PulseMCP.

Privacy

  • Aggregate query logs only (symbol names, repo filters)
  • No content of user codebases (read-only on indexed OSS)
  • No PII, no user identifiers

Demand-driven coverage

Missing a library? Library coverage is grown based on aggregate AI-agent demand: we log what is searched-but-missing and add the most-asked. Currently 800+ OSS projects across 11 languages.

Server Config

{
  "mcpServers": {
    "xmp4": {
      "type": "http",
      "url": "https://mcp.example4.ai/mcp"
    }
  }
}
Project Info
Created At
a month ago
Updated At
a month ago
Author Name
0ics srl
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Crevio

2 days ago