# xmp4 — Semantic Code Intelligence [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/0ics-srls/lsai-xmp4.public  
**GitHub Stars:** 1  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xmp4-semantic-code-intelligence

## Description
SCIP-backed semantic code intelligence over 800+ pre-indexed OSS libraries. Hosted, free.

## Tools
Capabilities this server exposes over MCP:

- **xmp4_callees** — Find direct callees (methods called by) a symbol in a project. Navigate step-by-step by calling xmp4_callees again on interesting results.
- **xmp4_callers** — Find direct callers of a symbol in a project. Navigate step-by-step by calling xmp4_callers again on interesting results.
- **xmp4_deps** — List external dependencies of a project.
- **xmp4_grep** — Server-side regex text search over indexed project source files. Free tier: requires file_path (single file). Premium tier (XMP4_PREMIUM_GREP_WALK=true): allows file_glob multi-file walk. Prefer xmp4_tests_for/xmp4_usages for SCIP symbols — grep is for text not indexed (comments, literals, config keys).
- **xmp4_guide** — Usage guide for xmp4 tools — read this first to learn the correct workflow
- **xmp4_hierarchy** — Get type hierarchy (base, interfaces, derived) for a symbol in a project.
- **xmp4_info** — Get detailed information about a symbol in a project.
- **xmp4_outline** — Get outline (all symbols) for a file in a project.
- **xmp4_projects** — Search and browse projects by language and name. Use this first to discover projects, then use other tools with the repo name.
- **xmp4_search** — Search symbols in a project. Use xmp4_projects first to find the project identifier.
- **xmp4_server** — Get server information, version, and capabilities
- **xmp4_source** — Extract source code for a symbol in a project.
- **xmp4_symbol_at** — LSP-style position→symbol lookup. Given (file_path, line, column) returns the symbol whose occurrence covers that cursor position. line is 1-based; column is 0-based. Use after xmp4_outline/xmp4_view when you know coordinates and want the canonical symbol.
- **xmp4_tests_for** — Find direct tests that exercise a given symbol (direct callers filtered to test-file candidates per language pattern: CSharp/Java/PHP: *Test(s).<ext>; Python: test_*.py / *_test.py; TypeScript/JavaScript: *.spec/test.{ts,js}; Rust: *_tests.rs / tests/; etc.).
- **xmp4_usages** — Find all usages/references of a symbol in a project.
- **xmp4_view** — Read a raw file excerpt from an indexed project by line range. Use after xmp4_search/xmp4_outline locates the region of interest, or to expand a truncated xmp4_source snippet. Hard cap of 500 lines per call.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "xmp4-semantic-code-intelligence": {
    "url": "https://mcp.example4.ai/mcp"
  }
}
```

## Documentation

## 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:

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

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.

_Full upstream README: https://allmcps.com/mcp/xmp4-semantic-code-intelligence/readme_

