consulting-mcp-server
Exposes RAG and document intelligence pipelines as 8 composable tools for MCP-compatible clients, enabling querying, indexing, classifying, extracting, and assessing documents.
README
Consulting MCP Server
MCP server that exposes two AI pipelines — RAG Pipeline and Document Intelligence — as 8 composable tools for any MCP-compatible client.
This is the integration layer, not the intelligence layer. The intelligence lives in the pipeline repos. This server makes it consumable through a standard protocol.
Architecture
<p align="center"> <img src="docs/mcp-architecture.svg" alt="MCP Server Architecture" width="700" /> </p>
Tools
RAG Pipeline
| Tool | Description |
|---|---|
rag_query |
Single-pass RAG: retrieve + generate grounded answer with citations |
rag_agent_query |
Multi-agent RAG for complex, multi-part questions (slower, more thorough) |
rag_index |
Re-index a corpus directory into the vector store (destructive) |
Document Intelligence
| Tool | Description |
|---|---|
doc_classify |
Classify a document by type (SOW, Contract, Project Plan, etc.) |
doc_extract |
Full single-doc pipeline: classify + extract structured fields + validate |
doc_assess |
Multi-document assessment with cross-document analysis and narrative |
doc_types |
List available document types and schemas (no API call) |
Utility
| Tool | Description |
|---|---|
health |
Server health check: API key, vector store, schemas, pipeline status |
Quick Start
Prerequisites
- Python 3.12+
- Both pipeline repos cloned locally:
ANTHROPIC_API_KEYset in environment or.env
Setup
git clone https://github.com/Brinkv3/consulting-mcp-server.git
cd consulting-mcp-server
python3.12 -m venv .venv
source .venv/bin/activate
# Install server + pipeline dependencies
pip install -r requirements.txt
pip install anthropic chromadb sentence-transformers PyMuPDF python-docx \
python-pptx openpyxl pandas tiktoken
# Configure pipeline paths
cp .env.example .env
# Edit .env with your actual paths and API key
Connect to Claude Desktop
Copy the config into your Claude Desktop settings (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"consulting-mcp-server": {
"command": "/path/to/consulting-mcp-server/.venv/bin/python",
"args": ["src/server.py"],
"cwd": "/path/to/consulting-mcp-server",
"env": {
"RAG_PIPELINE_PATH": "/path/to/rag-pipeline",
"DOC_INTEL_PATH": "/path/to/doc-intelligence",
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}
See config/claude_desktop_config.json for a complete example.
Connect to Claude Code
claude mcp add consulting-mcp-server \
-e RAG_PIPELINE_PATH=/path/to/rag-pipeline \
-e DOC_INTEL_PATH=/path/to/doc-intelligence \
-- /path/to/consulting-mcp-server/.venv/bin/python src/server.py
Verify
Once connected, ask Claude to run health — it reports the status of each component:
Server: running
RAG pipeline: available
Doc intelligence: available
API key: set
Vector store: found
Schemas: found (6 types)
Architecture
MCP Client (Claude Desktop / Claude Code / any MCP client)
│ (MCP protocol over stdio)
▼
consulting-mcp-server
├── server.py → MCP server entry point, tool registration
├── rag_tools.py → Tool handlers wrapping RAG pipeline
├── doc_tools.py → Tool handlers wrapping doc intelligence
└── utils.py → Config, path validation, pipeline imports
│ │
▼ ▼
RAG Pipeline Doc Intelligence
(path-based import) (path-based import)
Both pipelines use src/ as their package name. The server imports them sequentially, flushing sys.modules between imports to avoid namespace collisions.
Tests
source .venv/bin/activate
pytest tests/ -v
License
MIT (c) 2026 Carter Brinkley Consulting LLC
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.