Vectorize MCP server

Bridges Claude with Vectorize.io's vector database services for advanced document retrieval, text extraction, and research capabilities through TypeScript-based tools that handle authentication via organization IDs and API tokens.
Back to servers
Setup instructions
Provider
Vectorize
Release date
Mar 11, 2025
Language
TypeScript
Package
Stats
1.7K downloads
84 stars

The Vectorize MCP Server provides a Model Context Protocol (MCP) implementation that integrates with Vectorize for advanced vector retrieval and text extraction capabilities, allowing you to enhance your AI applications with powerful document search and processing features.

Installation Options

Quick Start with NPX

You can quickly run the server using npx by setting the required environment variables:

export VECTORIZE_ORG_ID=YOUR_ORG_ID
export VECTORIZE_TOKEN=YOUR_TOKEN
export VECTORIZE_PIPELINE_ID=YOUR_PIPELINE_ID

npx -y @vectorize-io/vectorize-mcp-server@latest

VS Code Integration

VS Code users can configure the MCP server by adding this configuration to their User Settings (JSON) file. Access this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON):

{
  "mcp": {
    "inputs": [
      {
        "type": "promptString",
        "id": "org_id",
        "description": "Vectorize Organization ID"
      },
      {
        "type": "promptString",
        "id": "token",
        "description": "Vectorize Token",
        "password": true
      },
      {
        "type": "promptString",
        "id": "pipeline_id",
        "description": "Vectorize Pipeline ID"
      }
    ],
    "servers": {
      "vectorize": {
        "command": "npx",
        "args": ["-y", "@vectorize-io/vectorize-mcp-server@latest"],
        "env": {
          "VECTORIZE_ORG_ID": "${input:org_id}",
          "VECTORIZE_TOKEN": "${input:token}",
          "VECTORIZE_PIPELINE_ID": "${input:pipeline_id}"
        }
      }
    }
  }
}

Workspace Configuration

To share the configuration with others in your workspace, create a .vscode/mcp.json file with the following content:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "org_id",
      "description": "Vectorize Organization ID"
    },
    {
      "type": "promptString",
      "id": "token",
      "description": "Vectorize Token",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pipeline_id",
      "description": "Vectorize Pipeline ID"
    }
  ],
  "servers": {
    "vectorize": {
      "command": "npx",
      "args": ["-y", "@vectorize-io/vectorize-mcp-server@latest"],
      "env": {
        "VECTORIZE_ORG_ID": "${input:org_id}",
        "VECTORIZE_TOKEN": "${input:token}",
        "VECTORIZE_PIPELINE_ID": "${input:pipeline_id}"
      }
    }
  }
}

Configuration for AI Tools

You can configure the MCP server for tools like Claude, Windsurf, Cursor, or Cline using this configuration:

{
  "mcpServers": {
    "vectorize": {
      "command": "npx",
      "args": ["-y", "@vectorize-io/vectorize-mcp-server@latest"],
      "env": {
        "VECTORIZE_ORG_ID": "your-org-id",
        "VECTORIZE_TOKEN": "your-token",
        "VECTORIZE_PIPELINE_ID": "your-pipeline-id"
      }
    }
  }
}

Using the Tools

Vector Search and Document Retrieval

Perform vector search to retrieve relevant documents from your Vectorize pipeline:

{
  "name": "retrieve",
  "arguments": {
    "question": "Financial health of the company",
    "k": 5
  }
}

This will return up to 5 documents most relevant to the question about financial health.

Text Extraction and Chunking

Extract text from documents and convert them to Markdown format:

{
  "name": "extract",
  "arguments": {
    "base64document": "base64-encoded-document",
    "contentType": "application/pdf"
  }
}

Provide your document encoded in base64 format and specify the content type (e.g., "application/pdf").

Deep Research Generation

Generate comprehensive research from your data sources:

{
  "name": "deep-research",
  "arguments": {
    "query": "Generate a financial status report about the company",
    "webSearch": true
  }
}

The webSearch parameter enables supplementing your document knowledge with web-based information.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "vectorize" '{"command":"npx","args":["-y","@vectorize-io/vectorize-mcp-server@latest"],"env":{"VECTORIZE_ORG_ID":"your-org-id","VECTORIZE_TOKEN":"your-token","VECTORIZE_PIPELINE_ID":"your-pipeline-id"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "vectorize": {
            "command": "npx",
            "args": [
                "-y",
                "@vectorize-io/vectorize-mcp-server@latest"
            ],
            "env": {
                "VECTORIZE_ORG_ID": "your-org-id",
                "VECTORIZE_TOKEN": "your-token",
                "VECTORIZE_PIPELINE_ID": "your-pipeline-id"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "vectorize": {
            "command": "npx",
            "args": [
                "-y",
                "@vectorize-io/vectorize-mcp-server@latest"
            ],
            "env": {
                "VECTORIZE_ORG_ID": "your-org-id",
                "VECTORIZE_TOKEN": "your-token",
                "VECTORIZE_PIPELINE_ID": "your-pipeline-id"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later