Skip to main content
Glama
MCP Embedding Storage Server

MCP Embedding Storage Server

by ricleedo

MCP Embedding Storage Server

An MCP server for storing and retrieving information using vector embeddings via the AI Embeddings API.

Features

  • Store content with automatically generated embeddings

  • Search content using semantic similarity

  • Access content through both tools and resources

  • Use pre-defined prompts for common operations

Related MCP server: OpenAI Vector Store MCP Server

How It Works

This MCP server connects to the AI Embeddings API, which:

  1. Processes content and breaks it into sections

  2. Generates embeddings for each section

  3. Stores both the content and embeddings in a database

  4. Enables semantic search using vector similarity

When you search, the API finds the most relevant sections of stored content based on the semantic similarity of your query to the stored embeddings.

Installation

# Install with npm
npm install -g mcp-embedding-storage

# Or with pnpm
pnpm add -g mcp-embedding-storage

# Or with yarn
yarn global add mcp-embedding-storage

Usage with Claude for Desktop

Add the following configuration to your claude_desktop_config.json file:

{
  "mcpServers": {
    "embedding-storage": {
      "command": "mcp-embedding-storage"
    }
  }
}

Then restart Claude for Desktop to connect to the server.

Available Tools

store-content

Stores content with automatically generated embeddings.

Parameters:

  • content: The content to store

  • path: Unique identifier path for the content

  • type (optional): Content type (e.g., 'markdown')

  • source (optional): Source of the content

  • parentPath (optional): Path of the parent content (if applicable)

search-content

Searches for content using vector similarity.

Parameters:

  • query: The search query

  • maxMatches (optional): Maximum number of matches to return

Available Resources

search://{query}

Resource template for searching content.

Example usage: search://machine learning basics

Available Prompts

store-new-content

A prompt to help store new content with embeddings.

Parameters:

  • path: Unique identifier path for the content

  • content: The content to store

search-knowledge

A prompt to search for knowledge.

Parameters:

  • query: The search query

API Integration

This MCP server integrates with the AI Embeddings API at https://ai-embeddings.vercel.app/ with the following endpoints:

  1. Generate Embeddings (POST /api/generate-embeddings)

    • Generates embeddings for content and stores them in the database

    • Required parameters: content and path

  2. Vector Search (POST /api/vector-search)

    • Searches for content based on semantic similarity

    • Required parameter: prompt

Building from Source

# Clone the repository
git clone https://github.com/yourusername/mcp-embedding-storage.git
cd mcp-embedding-storage

# Install dependencies
pnpm install

# Build the project
pnpm run build

# Start the server
pnpm start

License

MIT

Available Tools

2 tools
save-memoryC

Save content to vector database

Inputs: content (required), path (required), type, source, +1 more.

search-memoryC

Search for information in vector database

Inputs: query (required), maxMatches.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have perfectly distinct purposes: one saves content to the vector database, while the other searches for information within it. There is no overlap or ambiguity between these operations, making it impossible for an agent to confuse them.

    Naming Consistency5/5

    Both tools follow a consistent verb-noun pattern with hyphenated names (save-memory and search-memory). The verbs 'save' and 'search' clearly indicate the action, and 'memory' serves as a consistent noun, creating a predictable and readable naming convention throughout.

    Tool Count2/5

    With only two tools, this server feels under-scoped for an embedding storage system. While save and search are core operations, typical vector database interfaces would include additional tools like delete, update, list, or manage collections, making the current set appear thin and incomplete for the domain.

    Completeness2/5

    The tool surface is severely incomplete for an embedding storage server. It lacks essential operations such as deleting or updating stored memories, listing available entries, managing collections or namespaces, and performing advanced searches (e.g., by metadata). This will likely cause agent failures when trying to perform full lifecycle management of stored data.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers