Trieve logo

Trieve

by devflowinc

Search Trieve datasets through MCP using semantic, full-text, hybrid, or BM25 queries and dataset resources.

Install Trieve

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "devflowinc-trieve": {
      "command": "npx",
      "args": [
        "trieve-mcp-server@latest"
      ],
      "env": {
        "TRIEVE_API_KEY": "YOUR_VALUE_HERE",
        "TRIEVE_ORGANIZATION_ID": "YOUR_VALUE_HERE",
        "TRIEVE_DATASET_ID": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 1 tools correctly (3d ago).

Overview

devflowinc/trieve exposes the Trieve API to AI agents through MCP, with dataset search and dataset resources. Its search tool supports semantic, full-text, hybrid, and BM25 modes, plus filtering, highlighting, pagination, and dataset selection. Configure access with a Trieve API key and organization ID, optionally setting a default dataset. Reach for it when an agent needs to retrieve and analyze content stored in Trieve datasets, especially through Claude Desktop or another stdio-capable MCP client.

Use cases

  • Search Trieve datasets with natural-language questions
  • Compare semantic, full-text, hybrid, and BM25 retrieval
  • Filter and paginate dataset search results
  • Expose organization datasets to Claude Desktop
  • Inspect dataset content through MCP resources

Key features

  • Semantic, full-text, hybrid, and BM25 search
  • Advanced search filters
  • Configurable result highlighting
  • Paginated search results
  • Dataset resources via trieve:// URIs
  • Environment and command-line configuration

Tools1

What Trieve lets your agent do. Expand a tool for its parameters.

Verified live~803 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

26/26 checks healthy over the last 77d

What it can do

From the 1 tool this server returned when we ran it.

Read-only tools · 1
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age658 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · trieve-mcp-server@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2.7kStargazers on the source repository.
npm downloads67Package downloads in the last 30 days.
Last commit9mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed1Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Trieve works

What devflowinc/trieve does

devflowinc/trieve connects MCP-compatible AI clients to the Trieve API. It gives agents a standardized way to search Trieve datasets and access dataset information associated with a Trieve organization.

The primary operation is search. Agents provide a query and dataset ID, then choose how matching should be performed. Supported search modes are semantic, full-text, hybrid, and BM25. Search requests can also include advanced filters, result-highlighting options, a page number, and a page size.

Datasets are exposed as MCP resources using URIs in the form trieve://datasets/{dataset-id}. In Claude Desktop, these resources appear as attachments corresponding to datasets available to the configured Trieve organization.

How it works

The server runs as a command-line MCP process and communicates with the client using its configured MCP connection. When an agent needs information from a dataset, it can call the search tool, potentially issuing several searches while refining or breaking down a question.

A search request requires both a query and a dataset ID. Semantic search is the default mode. Full-text, hybrid, and BM25 modes are available when a different retrieval strategy is more suitable. Results default to page 1 with 10 results per page unless pagination values are supplied.

The server uses Trieve organization credentials to access the API. A dataset ID can be supplied for individual searches or configured as a default through the environment or command line.

Setup and configuration

Install the package with:

Terminal
npm install trieve-mcp-server

The executable can then be started with:

bash
trieve-mcp-server

Set TRIEVE_API_KEY to an API key from the Trieve dashboard and TRIEVE_ORGANIZATION_ID to the corresponding organization ID. TRIEVE_DATASET_ID is optional and provides a default dataset when a request does not specify one. Command-line options can replace these environment variables:

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

Command-line values take precedence over environment variables. For Claude Desktop, configure the server with an npx command and pass the credentials through the client configuration. Smithery also provides an installation command for Claude Desktop.

Tools and capabilities

  • Search a selected Trieve dataset.
  • Select semantic, full-text, hybrid, or BM25 retrieval.
  • Apply advanced filters to search requests.
  • Customize result highlighting.
  • Paginate results and control page size.
  • Expose organization datasets as MCP resources.

Limitations and notes

The search tool requires a dataset ID, either in the request or through the optional default dataset configuration. Access depends on a valid Trieve API key and organization ID. The documented interface is centered on searching and reading dataset information through MCP resources rather than dataset administration.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Trieve

devflowinc/trieve is an MCP server that connects AI agents to the Trieve API, allowing them to search datasets with semantic, full-text, hybrid, or BM25 modes and access dataset resources. It uses a Trieve API key and organization ID, with an optional default dataset configured through environment variables or command-line arguments.

Install it with `npm install trieve-mcp-server`, then start it with `trieve-mcp-server`. For Claude Desktop, Smithery provides an automated installation command, or you can add an `npx trieve-mcp-server@latest` entry to the client configuration.

Set `TRIEVE_API_KEY` and `TRIEVE_ORGANIZATION_ID` in the environment, with `TRIEVE_DATASET_ID` as an optional default dataset. You can instead pass `--api-key`, `--org-id`, and `--dataset-id` when starting the server; command-line values override environment variables.

Call the `search` tool with a query and dataset ID. Choose semantic, full-text, hybrid, or BM25 search, and optionally provide filters, highlighting options, page number, and page size; semantic search and page 1 with 10 results are the defaults.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTrieve AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/devflowinc-trieve?style=directory)](https://allmcps.com/mcp/devflowinc-trieve)
HTML Embed
<a href="https://allmcps.com/mcp/devflowinc-trieve"><img src="https://allmcps.com/api/badge/devflowinc-trieve?style=directory" alt="Trieve on AllMCPs" /></a>