What xmp4 — Semantic Code Intelligence MCP server does
xmp4 — Semantic Code Intelligence MCP server gives coding agents structured access to source and relationships in pre-indexed open-source libraries. The hosted index contains 856 repositories and 15,921 SCIP-indexed projects across 11 languages. Because results come from SCIP data, the semantic tools can distinguish symbols and relationships instead of treating every text match as a reference.
The service is intended for questions such as finding a class and its usages, locating callers of a method, checking a type hierarchy, retrieving a symbol’s implementation, or identifying tests associated with code. It works against the hosted library index rather than a user’s local codebase.
How it works
Connect an MCP client to the Streamable HTTP endpoint at https://mcp.example4.ai/mcp. After connection, the client can invoke the server’s tools with a project and symbol or file context as needed. A typical investigation can combine symbol information, source, and callers; a simpler request may use search, outline, or view.
The semantic tools use SCIP-indexed information for symbol resolution. xmp4_view provides a raw file excerpt by line range, while xmp4_grep offers server-side regular-expression search for cases where semantic lookup is insufficient. xmp4_guide returns a versioned skill pointer and an offline cheatsheet, and xmp4_server reports version and statistics.
Setup and configuration
The server is hosted, so the supplied configuration only needs an HTTP MCP entry:
{
"mcpServers": {
"xmp4": {
"type": "http",
"url": "https://mcp.example4.ai/mcp"
}
}
}
The README documents setup for Claude Code, Cursor, Claude Desktop, Continue, and Windsurf. For Claude Code, an optional skill can be downloaded to ~/.claude/skills/xmp4/SKILL.md; other clients can be instructed to read the published skill URL. No local repository clone or environment variable is specified for the hosted connection.
Tools and capabilities
The 17 tools are grouped into three areas:
- Semantic core:
xmp4_projects, xmp4_search, xmp4_info, xmp4_usages, xmp4_callers, xmp4_callees, xmp4_hierarchy, xmp4_outline, xmp4_source, xmp4_tests_for, xmp4_deps, and xmp4_symbol_at.
- Convenience access:
xmp4_view and xmp4_grep.
- Server guidance and status:
xmp4_guide and xmp4_server.
These capabilities support dependency inspection, symbol-level navigation, source retrieval, test discovery, and relationship analysis. The index is expanded in response to aggregate query demand and repository requests, so a desired library may not be available yet.
Limitations and notes
Language support is divided into tiers. C#, TypeScript, Python, Java, Rust, and PHP have the full coverage contract. Go, JavaScript, Dart, Ruby, and C++ are supported on a best-effort basis with documented quirks.
Known issues include empty hierarchy.base results for TypeScript, Rust, Java, and PHP; under-counted cross-module Python usages; and dotted-name behavior for explicit interface implementations in C#. xmp4 — Semantic Code Intelligence MCP server only covers indexed libraries, not arbitrary repositories supplied by the user.
The service records aggregate query counts, symbol and project names, tool names, and coarse timestamps to guide indexing. It states that codebase contents and personal identifiers are not logged, while standard access logs are retained for seven days for abuse prevention.