
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that processes local documents into a vector database and exposes tools so AI assistants can search and retrieve that content.
Document-processing MCP server for AI assistants is cataloged as an MCP server attributed to donphi. A Model Context Protocol server that processes local documents into a vector database and exposes tools so AI assistants can search and retrieve that content. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Document-processing MCP server for AI assistants are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No, API keys are optional; the system can use free local embedding models that run without any API keys.
Yes, documents must first be processed by the pipeline to generate embeddings and create the vector database before the server runs.
README.md · 4b2f550f9507 · Fetched 2026-11-13 12:30:10 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
The Model Context Protocol (MCP) is a new standard created by Anthropic to enable AI assistants to access external tools and data sources. This protocol allows AI models to extend their capabilities beyond their training data by connecting to specialized services like this MCP server.
By implementing the MCP standard, this server enables AI assistants to query and retrieve information from your custom document collection, effectively extending their knowledge base with your specific content.
This Model Context Protocol (MCP) server lets you overcome one of the biggest limitations of large language models: knowledge cutoffs. By creating your own MCP server, you can feed AI assistants up-to-date information about:
Recommended Data Sources:
The system consists of two main components:
# Scrape latest React 19 docs using FireCrawl.dev
# Place the saved markdown files in the data/ directory
# Run the pipeline to process the documentation
# Now ask your AI assistant about React 19 features!
# Export your API documentation as markdown
# Place the markdown files in the data/ directory
# Run the pipeline to process
# Now your AI assistant can help debug issues with your specific APIs!
Clone this repository:
git clone https://github.com/donphi/mcp-server.git
cd mcp-server
Create a .env file with your configuration:
# Copy the example file
cp .env.example .env
# Edit the file with your settings
nano .env
On Windows, you can use Notepad to edit the .env file.
Place your Markdown (.md) and text (.txt) files in the data/ directory.
You can configure the MCP server using environment variables in the .env file:
# API Keys
OPENAI_API_KEY=your_openai_api_key_here # Optional - can use free local embeddings instead
ANTHROPIC_API_KEY=your_anthropic_api_key_here # Optional
# Pipeline Configuration
CHUNK_SIZE=800 # Size of text chunks
CHUNK_OVERLAP=120 # Overlap between chunks (in tokens)
BATCH_SIZE=10 # Batch size for embedding generation
EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2 # Model to use (see options below)
SUPPORTED_EXTENSIONS=.md,.txt,.pdf,.docx,.doc # Comma-separated list of supported file extensions
# Server Configuration
CLAUDE_MODEL=claude-3-7-sonnet-20240307 # Claude model to use
MAX_RESULTS=10 # Maximum number of results to return
USE_ANTHROPIC=true # Whether to use Anthropic API for responses
# Paths
DATA_DIR=/data # Directory containing input files
OUTPUT_DIR=/output # Directory for output files
DB_PATH=/db # Directory for vector database
CONFIG_PATH=/config/server_config.json # Path to server configuration file
The system supports multiple embedding models for converting text to vector representations:
These models run locally within the Docker container and don't require any API keys:
sentence-transformers/all-MiniLM-L6-v2: A compact model designed for sentence and short paragraph encoding, providing efficient embeddings suitable for rapid retrieval tasks.
BAAI/bge-m3: A versatile model supporting multiple retrieval functionalities, over 100 languages, and inputs up to 8192 tokens, making it ideal for comprehensive retrieval tasks.
Snowflake/snowflake-arctic-embed-m: Optimized for high-quality retrieval performance, this model balances accuracy and inference speed effectively.
When you run the pipeline, you'll be prompted to choose which model to use. If you don't have an OpenAI API key, the system will automatically use one of the free local models.
To process your files and generate embeddings:
docker-compose build pipeline
docker-compose run pipeline
On Windows, you can run these commands in Command Prompt or PowerShell after installing Docker Desktop.
This will:
data/ directorychroma.sqlite3 file in the db/ directory)⚠️ IMPORTANT NEXT STEP: After processing your files, you MUST build the server before running it. See the next section.
REQUIRED STEP: After processing your documents, you need to build the server component before running it:
docker-compose build server
Note for Windows users: This step is critical before running the MCP server. Without building the server image, you'll encounter an "invalid reference format" error when trying to run the server.
The updated run scripts for Linux/macOS will automatically build the server image if it's missing, but it's still recommended to build it manually for better performance and to avoid unexpected delays when first running the server.
⚠️ REMINDER: Before configuring your MCP server connection, make sure you've completed these steps:
docker-compose build pipeline)docker-compose run pipeline)docker-compose build server) - This step is critical and often missed!The MCP server needs to be configured with your AI assistant. We provide scripts to generate the configuration:
Make the setup script executable and run it:
chmod +x setup-mcpServer-json.sh
./setup-mcpServer-json.sh
This will create a mcp-config.json file with the correct configuration.
Add the configuration to your AI assistant.
Double-click on the setup-mcpServer-json.bat file or run it from Command Prompt:
setup-mcpServer-json.bat
This will create a mcp-config.json file with the correct configuration.
Add the configuration to your AI assistant.
IMPORTANT FOR WINDOWS USERS: The
run-mcp-server.batfile has been updated to use Docker Compose consistently, which resolves the "invalid reference format" error that some Windows users were experiencing. If you're still encountering this issue, make sure you're using the latest version of the batch file from this repository.
If you're using Roo as your AI assistant:
Once configured, you can use the MCP server with an AI assistant that supports MCP. With compatible assistants like Roo, you can use it in two ways:
Automatic mode (with autoQuery: true): Ask questions normally, and the AI will automatically check your vector database for relevant information.
Example: "What are the key features of React 19?"
Explicit tool usage: Directly ask the AI to use a specific tool.
Example: "Use the search_content tool to find information about React 19 Compiler."
The MCP server exposes the following tools:
file_path (optional path to a specific file or directory)query (required search query)query (required context query), window_size (optional number of context items to retrieve)description (required description of what to implement)By default, the following file types are supported:
You can configure additional file extensions by setting the SUPPORTED_EXTENSIONS environment variable in your .env file.
The MCP server can operate in two modes:
🤖 Full Processing Mode: When the Anthropic API key is provided and USE_ANTHROPIC is set to true, the server will use Claude to generate responses based on the retrieved context.
📋 Context Retrieval Mode: When the Anthropic API key is not provided or USE_ANTHROPIC is set to false, the server will only retrieve and return the relevant context, allowing the client (e.g., AI assistant) to process it using its own LLM.
mcp-server/
├── Dockerfile.pipeline
├── Dockerfile.server
├── docker-compose.yml
├── requirements.pipeline.txt
├── requirements.server.txt
├── README.md
├── .env.example
├── run-mcp-server.sh # For macOS/Linux
├── run-mcp-server.bat # For Windows
├── setup-mcpServer-json.sh # Setup script for macOS/Linux
├── setup-mcpServer-json.bat # Setup script for Windows
├── enhanced_chunking.py
├── inspect_chunks.py
├── run_chunk_analysis.sh
├── setup_enhanced_chunking.sh
├── visualize_chunks.py
├── restart_server.sh
├── chunk_analysis/ # Tools for analyzing chunking methods
│ ├── docker_entrypoint.sh
│ ├── docker-compose.yml
│ ├── Dockerfile
│ ├── inspect_chunks.py
│ ├── README.md
│ ├── run_tests.sh
│ ├── semi_interactive_chunking.py
│ └── test_chunking.py
├── src/
│ ├── pipeline.py
│ ├── server.py
│ └── utils/
│ ├── __init__.py
│ ├── chunking.py
│ ├── embedding.py
│ └── vector_db.py
├── config/
│ ├── pipeline_config.json
│ └── server_config.json
├── data/
│ └── README.md
├── output/
│ └── .gitkeep
└── db/
└── .gitkeep
docker --version.docker-compose build server before attempting to run the server.Inconsistent Chunking
If you notice inconsistent chunking between files, it may be due to:
Solutions:
pip install spacy && python -m spacy download en_core_web_mdPDF Processing
PDFs may not chunk properly if:
Solutions:
pip install pypdfFor advanced use cases, the pipeline and server can be customized:
/chunk_analysis:
# First build the Docker container
cd chunk_analysis
docker-compose build
# Then run the tests
./run_tests.sh
The pipeline uses these document-specific chunking strategies:
SpaCy is used as the preferred chunking method for all document types when available.
MIT
Created with ❤️ by donphi
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Document-processing MCP server for AI assistants from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-donphi)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.