
xmp4 — Semantic code knowledge for your stack
OSS libs in your stack, really used: source, tests, callers.
What it can do
What data it sees
Do you need an account
No: the server works without sign-in
OSS libs in your stack, really used: source, tests, callers. C#, Java, TS, Python, Rust, PHP+.
How to connect
How to connect xmp4 — Semantic code knowledge for your stack to Claude
The server address to paste into Claude settings:
https://mcp.example4.ai/mcp
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect xmp4 — Semantic code knowledge for your stack to ChatGPT
The server address to paste into ChatGPT settings:
https://mcp.example4.ai/mcp
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect xmp4 — Semantic code knowledge for your stack to Cursor
The server address to paste into Cursor settings:
https://mcp.example4.ai/mcp
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (16)
Raw names from tools/list. Only developers need these.
| 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. |