Skip to main content
Stoneturner syncs data from external integrations, converts it into structured markdown, vectorizes it, and exposes it to agents via an MCP server. Agents can search across all your integrated context semantically, retrieve raw artifacts, and trigger syncs — all through standard MCP tool calls. It also ships with a web UI for monitoring sync tasks, viewing raw markdown artifacts, and configuring integration credentials.

Quickstart

Clone, configure, and run Stoneturner locally in a few minutes.

How Stoneturner Works

Walk through the connect → sync → search flow end to end.

Architecture

The project layout, database, MCP server, and frontend.

Add an Integration

Wire up a new data source under src/integrations/.

What you get

Connect an integration, sync its data, and your agents can immediately query it semantically. The same content is available as raw markdown artifacts and over a read-only SQL interface.
1

Connect an integration

Provide API credentials via the web UI or API.
2

Sync

Stoneturner fetches data, parses it into markdown artifacts, and indexes them into vector tables.
3

Search

Agents query the MCP server using semantic_search and other tools to find relevant context.

MCP tools

The MCP server (Streamable HTTP at /mcp) exposes these tools to your agents:
ToolDescription
semantic_searchSemantic search across indexed content, key points, and questions answered. Supports filtering by integration, date range, and entities.
get_md_artifact_by_idRetrieve a single markdown artifact by ID — full content, key points, questions, entities, and metadata.
run_sql_queryRun a single read-only SELECT statement against the underlying SQLite (libSQL/Turso) database. Returns rows as JSON. Only SELECT (and WITH ... SELECT) statements are permitted — any mutating or schema-modifying statement is rejected.
get_integration_sourcesList all registered integrations and their credential status.
sync_sourceTrigger a full or incremental sync for an integration. Returns a credential URL if not yet configured.
Don’t want to self-host? Use the Stoneturner Managed MCP for a hosted sync and search layer.