xmp4 — Semantic Code Knowledge for Your Stack

Created By
0ics srla month ago
Hosted MCP server that turns 800+ pre-indexed OSS libraries into a semantic code knowledge base for AI agents. Answers symbol-level questions (real source, typed callers, usages, tests, type hierarchies, outline) in a single call — replacing the "clone + grep" workflow when an AI agent needs to understand how a third-party library is actually used. SCIP-backed, 11 languages, free, no API key.
Overview

What is xmp4?

xmp4 is a hosted MCP server (mcp.example4.ai) that exposes 800+ pre-indexed OSS libraries as a semantic code knowledge base. AI agents (Claude, Cursor, Continue, Cline…) connect over Streamable HTTP — no API key, no install — and ask symbol-level questions in a single call.

Why

When an AI agent needs to understand how a third-party library is actually used (real source, who calls what, how it is tested), the typical workflow is git clone + grep + read. That blows up the context window. xmp4 returns the answer pre-indexed in a single MCP call. Token-savings benchmark: 81–87% vs grep (see lsai-protocol/RESULTS.md).

Tools (17)

  • xmp4_search — find symbols by name across a project
  • xmp4_info — signature + docs + location of a symbol
  • xmp4_source — real source code of a symbol
  • xmp4_outline — file structure with names and signatures
  • xmp4_usages — where a symbol is used (grouped by file)
  • xmp4_callers / xmp4_callees — call graph
  • xmp4_hierarchy — inheritance / interface chains
  • xmp4_tests_for — tests that exercise a symbol
  • xmp4_grep — text patterns inside an indexed project
  • xmp4_view — read a file by path
  • xmp4_deps — declared dependencies
  • xmp4_projects — discover available libraries
  • xmp4_symbol_at — symbol at a file:line:col
  • xmp4_guide / xmp4_server — onboarding

Languages

Tier 1: C#, Java, TypeScript, Python, Rust, PHP Tier 2: Go, JavaScript, Dart, Ruby, C++

Endpoint

https://mcp.example4.ai/mcp

Streamable HTTP. No API key. Already on the Official MCP Registry as ai.example4/xmp4, Smithery, Cursor Directory, PulseMCP.

Privacy

  • Aggregate query logs only (symbol names, repo filters)
  • No content of user codebases (read-only on indexed OSS)
  • No PII, no user identifiers

Demand-driven coverage

Missing a library? Library coverage is grown based on aggregate AI-agent demand: we log what is searched-but-missing and add the most-asked. Currently 800+ OSS projects across 11 languages.

Server Config

{
  "mcpServers": {
    "xmp4": {
      "type": "http",
      "url": "https://mcp.example4.ai/mcp"
    }
  }
}
Project Info
Created At
a month ago
Updated At
a month ago
Author Name
0ics srl
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Shippo
@Shippo

16 hours ago
Linkpulse

11 hours ago
Puter Mcp

a day ago
//beforeyouship — LLM Cost Modeling From Your Editor
@Indiegoing

Query realistic LLM cost models without leaving your editor. beforeyouship models the **true monthly cost** of an LLM app architecture — retries, prompt caching, batch discounts, infra overhead, and 3×/10× growth — across GPT-5.x, Claude, Gemini, DeepSeek, and more. Not a token calculator: a planning tool for the design phase, before you commit to a stack. **No API key needed to try it** — demo mode covers the six free-tier models. A Pro key from [beforeyouship.dev](https://beforeyouship.dev) unlocks the full 18-model catalog. ## What you can ask - "How much will a RAG chatbot cost at 10,000 requests/day?" - "Compare Claude Haiku vs Gemini Flash pricing for my workload" - "What's the cheapest model for a multi-step agent at scale?" - "Show me current per-token prices for Anthropic models" ## Tools ### `estimate_cost` Full cost model for an architecture at a given usage level. Returns Naive / Realistic / Worst Case monthly cost per model, 3×/10× growth scenarios, and an opinionated recommendation with reasoning. ### `get_model_prices` Current per-1M-token pricing — input, output, cached input, batch — with context windows and staleness metadata. ### `list_archetypes` Seven preset architecture patterns (simple chatbot, chatbot with history, RAG pipeline, multi-model router, coding assistant, document processor, multi-step agent) used as starting points for estimates. ## Setup **Claude Code:** ​```bash claude mcp add --transport http beforeyouship https://beforeyouship.dev/api/mcp ​``` **Cursor / other clients** — add a remote server: ​```json { "mcpServers": { "beforeyouship": { "type": "streamable-http", "url": "https://beforeyouship.dev/api/mcp" } } } ​``` Add an `Authorization: Bearer bys_...` header with a Pro key for the full catalog. ## Try it > Estimate the monthly cost of a RAG pipeline at 10,000 requests/day

8 hours ago