Basic information

Runtime
HTML
Version
1.2.6
License
Apache-2.0
Transports
stdio
Author
0ics-srls
Submitted by
Community
Quality
25
Stars
1

About Xmp4 MCP Server

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.

Xmp4 is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by 0ics-srls. It exposes 17 tools, including xmp4_callees, xmp4_callers, xmp4_deps, xmp4_grep and more. Supported transport: stdio. Runtime: HTML. License: Apache-2.0. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: agents, code-intelligence, library-navigation, oss, scip.

Setup

claude mcp add lsai-xmp4-public --transport http https://mcp.example4.ai/mcp

Xmp4 MCP Server config

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

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

Xmp4 MCP Server tools

  • 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.
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • xmp4_callers — Find direct callers of a symbol in a project. Navigate step-by-step by calling xmp4_callers again on interesting results.
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • xmp4_deps — List external dependencies of a project.
    output_format:string, page:integer, page_size:integer, project:string*
  • 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).
    case_sensitive:boolean, file_glob:string, file_path:string, max_results:integer, page:integer, page_size:integer, pattern:string*, project:string*
  • xmp4_guide — Usage guide for xmp4 tools — read this first to learn the correct workflow
    (no parameters)
  • xmp4_hierarchy — Get type hierarchy (base, interfaces, derived) for a symbol in a project.
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • xmp4_info — Get detailed information about a symbol in a project.
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • xmp4_outline — Get outline (all symbols) for a file in a project.
    file_path:string*, output_format:string, page:integer, page_size:integer, project:string*
  • xmp4_projects — Search and browse projects by language and name. Use this first to discover projects, then use other tools with the repo name.
    language:string, page:integer, page_size:integer, query:string, repo:string
  • xmp4_repos — [DEPRECATED] List indexed projects. Use xmp4_projects(page, page_size) instead — same data, paginated. Will be removed in v0.6.0.
    (no parameters)
  • xmp4_search — Search symbols in a project. Use xmp4_projects first to find the project identifier.
    kind:string, max_results:integer, output_format:string, page:integer, page_size:integer, project:string*, query:string*
  • xmp4_server — Get server information, version, and capabilities
    (no parameters)
  • xmp4_source — Extract source code for a symbol in a project.
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • 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.
    column:integer, file_path:string*, line:integer, project:string*
  • 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.).
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • xmp4_usages — Find all usages/references of a symbol in a project.
    docs:string, file_path:string, output_format:string, page:integer, page_size:integer, project:string*, symbol_name:string*
  • 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.
    file_path:string*, from_line:integer, project:string*, to_line:integer

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.

Frequently asked questions

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

2 What languages are supported?

Tier 1 (full

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬