Back to MCP Catalog

Trieve MCP Server

SearchTypeScript
Search and interact with Trieve datasets through a standardized interface
Available Tools

search

Search through a specified Trieve dataset with support for semantic, fulltext, hybrid, or BM25 search types

querydatasetIdsearchTypefiltershighlightOptionspagepageSize

Trieve MCP Server provides AI agents with tools to search and interact with Trieve datasets. It enables semantic, fulltext, hybrid, and BM25 search capabilities across your organization's datasets through a standardized interface. With Trieve MCP Server, AI assistants can access and search through your knowledge base, making it easier to retrieve relevant information during conversations. The server supports advanced filtering options and customizable result highlighting to ensure you get the most relevant search results.

Overview

Trieve MCP Server enables AI agents to search and interact with your Trieve datasets through a standardized interface. This integration allows AI assistants like Claude to search through your organization's knowledge base and retrieve relevant information during conversations.

Installation

Option 1: Install via Smithery (Recommended)

The easiest way to install Trieve MCP Server for Claude Desktop is via Smithery:

npx -y @smithery/cli install trieve-mcp-server --client claude

Option 2: Manual Installation

You can also install the package manually:

npm install trieve-mcp-server

Configuration

Trieve MCP Server requires authentication with your Trieve account. You'll need to provide your API key and organization ID, which you can find in your dashboard at dashboard.trieve.ai.

Environment Variables

You can configure the server using environment variables:

  • TRIEVE_API_KEY (required): Your Trieve API key
  • TRIEVE_ORGANIZATION_ID (required): Your Trieve organization ID
  • TRIEVE_DATASET_ID (optional): Specific dataset ID to use

Command-line Arguments

Alternatively, you can provide configuration via command-line arguments, which will override any environment variables:

trieve-mcp-server --api-key <your-api-key> --org-id <your-org-id> [--dataset-id <dataset-id>]

Integration with Claude Desktop

To use Trieve with Claude Desktop, add the following configuration to your claude_desktop_config.json file:

{
  "mcpServers": {
    "trieve-mcp-server": {
      "command": "npx",
      "args": ["trieve-mcp-server@latest"],
      "env": {
        "TRIEVE_API_KEY": "your-api-key-here",
        "TRIEVE_ORGANIZATION_ID": "your-org-id-here",
        "TRIEVE_DATASET_ID": "optional-dataset-id-here"
      }
    }
  }
}

Replace the placeholder values with your actual Trieve credentials.

Usage

Once configured, Claude Desktop will automatically detect available Trieve datasets as attachments. You can select a dataset and then begin chatting with Claude about the information contained in that dataset.

Claude will use the search functionality as needed to answer your questions, potentially making multiple queries to provide comprehensive responses. You can ask Claude to search for specific information, summarize content, or analyze data within your Trieve datasets.

Advanced Usage

The search functionality supports various search types and filtering options:

  • Search types: semantic (default), fulltext, hybrid, or bm25
  • Pagination controls for handling large result sets
  • Advanced filtering options for more targeted searches
  • Customizable result highlighting

When working with Claude, you can specify these parameters in your natural language requests, and Claude will translate them into appropriate search queries.

Related MCPs

SearXNG
SearchTypeScript

Web search capabilities through SearXNG API integration

Hacker News
SearchPython

Access and search Hacker News content programmatically

Web Search
SearchJavaScript

Free Google search integration with no API keys required

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.