MCP Data Catalog Server
Enables composable search and filtering over an enterprise data catalog, with tools for lineage, sample data, profiling, history, quality rules, and AI-driven classification.
README
MCP Data Catalog Server
An MCP server exposing tools over a synthetic enterprise data catalog: asset search with a composable AND/OR filter DSL, lineage, sample data, profiling, history, quality rules, and AI-driven classification (CDE detection, PII tagging, business-term generation).
Independent, from-scratch reimplementation of a system design I built in a professional context — synthetic catalog data, no proprietary business logic, for portfolio/demo purposes. Not affiliated with, and contains no code or data from, any employer or client.
What it demonstrates
- Composable AND/OR filter DSL (
src/catalog/filter_dsl.py) — asset search takes a nested{"and": [...]}/{"or": [...]}filter tree instead of a fixed set of query parameters, so callers can express arbitrary boolean combinations of field predicates without the tool schema growing per use case. - Heuristic-first classification with AI fallback
(
src/catalog/classification.py) — Critical Data Element (CDE) detection runs cheap heuristics (name/type pattern matching) first and only calls the (stubbed) AI classifier when the heuristics are inconclusive; PII tagging is fully AI-driven from asset metadata. - Business-term generation validated against governance heuristics
(
src/catalog/business_terms.py) — candidate terms are matched to catalog assets via cosine similarity over embeddings, then filtered through governance rules (naming convention, domain allowlist) before being surfaced for publishing. - MCP tool surface (
src/tools/) — search, lineage, sample data, profiling, history, quality rules, CDE classification, PII classification, and business term generation, registered on a realmcpSDK server insrc/server.py.
Running it
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
python -m src.main
The server runs over stdio, ready to be added to an MCP client (e.g. Claude
Desktop or Claude Code) config pointing at python -m src.main in this
directory. All catalog data is synthetic and generated in-process — no external
database required.
pytest
Project layout
src/
main.py # entrypoint
server.py # MCP server + tool registration
catalog/
store.py # in-memory synthetic catalog
models.py # Asset, LineageEdge, QualityRule
filter_dsl.py # AND/OR filter tree evaluator
classification.py # heuristic-first CDE + AI-driven PII
business_terms.py # embedding similarity + governance validation
tools/
search.py, lineage.py, sample_data.py, profiling.py,
history.py, quality_rules.py, classification_tools.py,
business_term_tool.py
tests/
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.