Connect your agent to your own data
Create a namespace to get your API key and MCP endpoint, then give your agent search, ingest, and classify tools over your own content.
MCP (Model Context Protocol)
The fastest way to connect an AI agent to Mixpeek. Four hosted servers expose different tool scopes:- Claude Desktop
- Claude Code
- Cursor / Windsurf
Per-Retriever Server
For a focused search agent, scope the MCP server to a single retriever. It reads your retriever’sinput_schema and generates a typed search tool:
search (typed to your schema), describe (retriever metadata), and explain (pipeline walkthrough).
Full MCP reference →
Agent Sessions
Mixpeek’s built-in agent runtime gives you stateful, multi-turn conversations backed by your data. Each session runs as a dedicated process with tool access, conversation memory, and SSE streaming.analyze → plan → execute → synthesize workflow, calling tools as needed and streaming events back:
Available Tools
Sessions persist for 7 days and automatically rehydrate after idle periods.
Agent Sessions API →
LangChain
Thelangchain-mixpeek package provides a retriever, individual tools, and a full toolkit:
Toolkit Tools
Scope tools to what your agent needs with
toolkit.get_tools(actions=["search", "ingest"]).
Full LangChain guide →

