MCP.so
Sign In
X

Xmp4

@0ics-srls

About Xmp4

Semantic code knowledge for your stack. Hosted MCP over 800+ pre-indexed OSS libraries (C#, Java, TS, Python, Rust, PHP+). 17 SCIP-backed tools for real source, callers, usages, tests, and hierarchies — one call each, free.

Basic information

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

17

Find direct callees (methods called by) a symbol in a project. Navigate step-by-step by calling xmp4_callees again on interesting results.

Find direct callers of a symbol in a project. Navigate step-by-step by calling xmp4_callers again on interesting results.

List external dependencies of a project.

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).

Usage guide for xmp4 tools — read this first to learn the correct workflow

Get type hierarchy (base, interfaces, derived) for a symbol in a project.

Get detailed information about a symbol in a project.

Get outline (all symbols) for a file in a project.

Search and browse projects by language and name. Use this first to discover projects, then use other tools with the repo name.

[DEPRECATED] List indexed projects. Use xmp4_projects(page, page_size) instead — same data, paginated. Will be removed in v0.6.0.

Search symbols in a project. Use xmp4_projects first to find the project identifier.

Get server information, version, and capabilities

Extract source code for a symbol in a project.

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.

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.).

Find all usages/references of a symbol in a project.

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.

Overview

What is Xmp4?

Xmp4 is a hosted MCP server that pre-indexes 547 popular open-source libraries using SCIP, providing AI coding agents with semantic code intelligence through 17 tools. It eliminates the need to clone repositories or grep source code, returning SCIP-resolved symbols, callers, and hierarchy in minimal tokens.

How to use Xmp4?

Configure your MCP client with transport type HTTP and URL https://mcp.example4.ai/mcp. For Claude Code, add the configuration to ~/.claude/mcp.json. Restart the client and query using xmp4_guide first, then semantic tools like xmp4_info, xmp4_source, and xmp4_callers. Full instructions for Cursor, Claude Desktop, Continue, and Windsurf are available in docs/connect-instructions.md.

Key features of Xmp4

  • 17 tools: 12 semantic core, 2 convenience, 2 meta.
  • Pre-indexed 547 libraries across 10 languages (Tier 1: C#, TypeScript, Python, Java, Rust, PHP).
  • Returns real source body and semantic callers, not just file paths.
  • Up to 42× fewer tokens than GitMCP for equivalent answers.
  • Zero setup cost — no cloning, no local storage required.
  • Demand-driven library growth based on query logs and user requests.

Use cases of Xmp4

  • AI agent asks "Who calls Flask.wsgi_app and what does it do?" — answer in ~250 tokens vs ~15,000 with grep+clone.
  • Explore symbols and their usages across 547 OSS libraries without cloning repos.
  • Retrieve type hierarchy and callee lists for any indexed symbol.
  • Test coverage lookup using xmp4_tests_for tool.
  • Server-side regex fallback (xmp4_grep) when semantic search isn't enough.

FAQ from Xmp4

What makes Xmp4 different from GitMCP or Context7?

Xmp4 returns real source bodies and semantic callers with SCIP resolution, while GitMCP only provides file paths (42× more tokens for same answer) and Context7 cannot answer the question at any cost.

What languages are supported?

Tier 1 (full

Comments

More Memory & Knowledge MCP servers