Veritasgraph
Offline, citation-grounded GraphRAG over a local knowledge graph, run via Ollama
- Pricing
- Open source
- Platforms
- CLI, self-hosted
- Runs
- Locally
- Version
- 0.2.0
- Listing updated
- 3 days ago
About Veritasgraph
Veritasgraph is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
VeritasGraph is a GraphRAG framework meant to run entirely on your own hardware. The MCP server is a Python package that talks to a local Ollama model (default qwen3) and keeps its graph in a SQLite store shared with the Studio app and the CLI, so nothing has to leave the machine.
Its selling point is answers that can be checked. Responses carry fields for whether they are grounded, which citations were unknown and whether the system abstained; if no entity matches, it says so rather than guessing. A governed mode answers only when certified ontology terms cover the question, and each answer gets an id so it can be replayed later with its citations. Ingestion has a PII policy (off, tag, redact before extract, or reject).
The VERITASGRAPH_MCP_MODE variable limits the client to read, write or admin tools. Beyond MCP the README lists audit logging with a hash chain, snapshots, role-based tokens and read-only connectors to databases such as Postgres and Snowflake. The project is MIT licensed.
Install
Run in a terminal
claude mcp add veritasgraph -- uvx veritasgraph-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"veritasgraph": {
"command": "uvx",
"args": [
"veritasgraph-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"veritasgraph": {
"command": "uvx",
"args": [
"veritasgraph-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"veritasgraph": {
"type": "stdio",
"command": "uvx",
"args": [
"veritasgraph-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"veritasgraph": {
"command": "uvx",
"args": [
"veritasgraph-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"veritasgraph": {
"command": "uvx",
"args": [
"veritasgraph-mcp"
]
}
}
}Configuration
VERITASGRAPH_MODELDefault local Ollama model for ingest/query (e.g. qwen3:latest).OLLAMA_HOSTLocal Ollama endpoint.VERITASGRAPH_MCP_MODETool tier exposed to the client: read, write or admin.STUDIO_DATA_DIRData directory; the SQLite graph store lives here unless VERITASGRAPH_DB is set.VERITASGRAPH_DBPath to the SQLite graph store shared with Studio and the CLI.VERITASGRAPH_PII_POLICYPII handling on ingest: off, tag, redact_before_extract or reject.
What it does
- Local-only operation
- Uses a local Ollama model and a SQLite store.
- Cited answers
- Responses flag grounding, unknown citations and abstention.
- Governed mode
- Answers only when certified vocabulary covers the question.
- Answer receipts
- Each answer has an id for later replay.
- PII handling
- Choose to tag, redact or reject sensitive data on ingest.
- Tiered tool access
- Limit a client to read, write or admin tools.
Good for
- Query private documents without sending them to a cloud API
- Audit why an agent gave a particular answer
- Build a governed business glossary for retrieval
- Connect read-only structured data to a question-answering layer
Pricing
Open source
Free and open source (MIT)
Prices change. Check bibinprathap.github.io before you buy.
Veritasgraph FAQ
What model does it use?
A local Ollama model; the default is qwen3:latest.
Where is data stored?
In a SQLite graph store, whose path is set by VERITASGRAPH_DB or STUDIO_DATA_DIR.
Can I restrict what an agent does?
Yes, VERITASGRAPH_MCP_MODE sets read, write or admin tiers.
What is the licence?
MIT, per the README badge.
Is Veritasgraph free?
Yes. Veritasgraph is open source, so you can use and self-host it for free.
How do I add Veritasgraph to Claude Code?
Run this command in your terminal: claude mcp add veritasgraph -- uvx veritasgraph-mcp
What are the best alternatives to Veritasgraph?
The closest alternatives to Veritasgraph are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.
Alternatives to Veritasgraph

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

Nautilus Compass Memory
MCP serverLocal-first long-term memory layer for AI agents, served over MCP
Not checked yet- 5 tools
- Remote
- Open source
- 1.3K GitHub stars
- Knowledge and memory

note1
MCP serverMCP server giving AI assistants search and summaries across your note1 meetings
- 4 tools
- Remote
- Free trial
- 1 GitHub star
- Productivity
MedXpert 图书馆连接器(通用版)
MCP serverLocal MCP server that searches and answers questions over your own Markdown wiki
Runs locally- 4 tools
- Open source
- Knowledge and memory