Xmp4 MCP server
{
"mcpServers": {
"example4-xmp4": {
"type": "http",
"url": "https://mcp.example4.ai/mcp"
}
}
}{
"mcpServers": {
"example4-xmp4": {
"type": "http",
"url": "https://mcp.example4.ai/mcp"
}
}
}{
"mcpServers": {
"example4-xmp4": {
"type": "http",
"url": "https://mcp.example4.ai/mcp"
}
}
}{
"servers": {
"example4-xmp4": {
"type": "http",
"url": "https://mcp.example4.ai/mcp"
}
}
}{
"mcpServers": {
"example4-xmp4": {
"type": "http",
"url": "https://mcp.example4.ai/mcp"
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsonversion 1.2.6
What it does
xmp4 is a hosted MCP server that indexes 856 open-source libraries using SCIP semantic code analysis, allowing AI agents to query source code, callers, type hierarchies, and usages without cloning repositories. It supports C#, Java, TypeScript, Python, Rust, and PHP with full coverage, and Go, JavaScript, Dart, Ruby, and C++ with best-effort support.
- Find all callers of a specific function or method across a library without grepping the codebase.
- Retrieve the signature, implementation body, and type hierarchy of a symbol in an OSS library.
- Discover test files and test cases that exercise a particular piece of library code.
Tools this server exposes
| Tool | Does |
|---|---|
| xmp4_search | Search for symbols across indexed libraries by name. |
| xmp4_info | Get the signature and metadata of a symbol. |
| xmp4_source | Retrieve the source code body of a symbol. |
| xmp4_callers | Find all semantic callers of a symbol. |
| xmp4_callees | Find all functions or methods called by a symbol. |
| xmp4_usages | List all usages of a symbol across the codebase. |
| xmp4_hierarchy | Get the type hierarchy (base classes, implementations) of a symbol. |
| xmp4_tests_for | Find test files that exercise a given symbol. |
| xmp4_outline | Get the outline structure of a file or module. |
| xmp4_view | Retrieve raw file content by line range. |
| xmp4_grep | Perform server-side regex search when semantic queries are insufficient. |
| xmp4_deps | List dependencies of a library or project. |
| xmp4_symbol_at | Get the symbol at a specific file location. |
| xmp4_projects | List indexed projects in a library. |
| xmp4_guide | Get a skill pointer and cheatsheet for using xmp4 tools. |
| xmp4_server | Return server version and indexing statistics. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.