Vectorize MCP Server for Vector Retrieval and Extraction
Deploy an MCP server integrated with Vectorize to enable fast vector retrieval and robust text extraction for scalable, context-aware AI applications.
npx -y @vectorize-io/vectorize-mcp-serverOverview
The Vectorize MCP Server is a Model Context Protocol (MCP) server implementation that connects MCP-enabled developer tools and LLM clients to Vectorize pipelines. It exposes endpoints for high-performance vector retrieval, document extraction and chunking, and pipeline-driven deep research — letting LLMs request contextual documents and structured content on demand.
This server is useful when you want to combine large language models with a scalable retrieval layer: index and search embeddings via Vectorize, extract text from arbitrary files, and run research-style queries (including optional web search) — all through a standardized MCP interface. It is designed to be simple to run locally or within developer environments like VS Code, Claude/Windsurf/Cursor, or other MCP-compatible clients.
Features
- Vector retrieval: k-nearest document search using Vectorize pipelines.
- Text extraction: convert PDFs, DOCX, and other documents into structured Markdown chunks.
- Deep research: create private multi-source research runs using Vectorize pipelines (supports optional web search).
- MCP-compatible: runs as an MCP server so LLM clients can call it as a tool.
- Lightweight deployment: start with a single npx command or embed in VS Code / workspace settings.
- Developer-friendly: local dev script, simple env-based configuration, and reproducible settings for teams.
Installation / Configuration
Prerequisites: node (npm) and a Vectorize account (Organization ID, Token, Pipeline ID).
Environment variables:
| Variable | Purpose |
|---|---|
| VECTORIZE_ORG_ID | Your Vectorize organization identifier |
| VECTORIZE_TOKEN | API token for calling Vectorize services |
| VECTORIZE_PIPELINE_ID | The pipeline ID to use for retrieval/extraction |
Quick start (npx)
VS Code (user settings JSON)
Workspace (shareable .vscode/mcp.json)
MCP client configuration (Claude/Windsurf/Cursor/Cline)
Development
Release: update package.json version, commit, tag, and push tags.
Available Tools / Resources
The server exposes several MCP tools (sendable as tool calls from an LLM):
retrieve — vector search; returns top-k matching documents. Example arguments:
extract — extract and chunk text from a base64-encoded document into Markdown. Example arguments:
deep-research — run a private research pipeline that can include web search. Example arguments:
Reference: the server uses Vectorize pipeline APIs (retrieval, extraction, and deep research). See Vectorize documentation for pipeline specifics and API contract.
Use Cases
- Retrieval-Augmented Generation (RAG): Connect an LLM to the retrieve tool to gather relevant document passages before answering user queries, improving factuality and context-awareness.
- Document ingestion pipeline: Upload PDFs/DOCs to Vectorize, use extract to produce Markdown chunks, and index them for fast retrieval in your application.
- Research assistant: Use deep-research to orchestrate multi-source research runs (internal docs + optional web search), producing summarized findings for analysts or product teams.
- Enterprise search: Power company-wide search by exposing a Vectorize-backed MCP server to internal LLMs and apps, enabling semantic search over knowledge bases, contracts, and reports.
Tips & Best Practices
- Keep tokens and IDs out of source control; prefer environment variables or secret management.
- Tune k and retrieval scoring in your Vectorize pipeline to match your domain’s document granularity.
- Use extraction chunk sizes that match your LLM context window for best end-to-end performance.
- Monitor Vectorize pipeline usage and pipeline logs to understand latency and throughput for production workloads.
Repository and source code: https://github.com/vectorize-io/vectorize-mcp-server/