Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

VeritasGraph

Lets your AI agent build a knowledge graph from your documents and answer questions with citations, fully on your own machine.

326 stars on GitHubby bibinprathapLicense MITUpdated 19 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add veritasgraph -- uvx veritasgraph-mcp

What to fill in

NameWhat it isRequired
VERITASGRAPH_MODELDefault local Ollama model for ingest/query (e.g. qwen3:latest).No
OLLAMA_HOSTLocal Ollama endpoint.No
STUDIO_DATA_DIRDirectory where the knowledge-graph snapshot is persisted.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Ingest these policy documents and build a knowledge graph.
Which teams are connected to the payment outage? Cite your sources.

What it is

VeritasGraph is a GraphRAG framework with an MCP server. It reads your own data, builds a knowledge graph, and answers multi-hop questions with source citations. It can run fully offline with a local Ollama model or use cloud APIs.

What it can do

  • Build a knowledge graph from your own documents
  • Answer multi-hop questions with [doc#chunk] citations
  • Return insufficient evidence instead of guessing when graph edges are missing
  • Studio: a local workspace to build agents with memory, guardrails and tools
  • Run the MCP server with python -m veritasgraph_mcp

When to use

  • β€ΊWhen you want answers about your documents that point to exact sources
  • β€ΊWhen your data must stay on your own machine and not go to a cloud service
  • β€ΊWhen plain vector search misses how facts connect to each other

What you need

Python. For fully local use, Ollama and about 8GB RAM. The quick demo mode needs an OpenAI or Anthropic API key, and full mode needs Docker and Neo4j.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it open source?

Yes. The readme shows an MIT license badge and it is free to use.

Can it run offline?

Yes, with --mode=local it uses Ollama and works fully offline. The lite mode uses cloud APIs.

What does it need to install?

pip install veritasgraph, then run the demo. The MCP server starts with python -m veritasgraph_mcp from the repo root and needs a local Ollama for ingest and query.

What are the three modes?

lite (quick demo with an OpenAI or Anthropic key), local (Ollama, offline) and full (Docker and Neo4j, for production).

Does it make up answers?

The readme says the agent returns insufficient evidence when graph edges are missing, and answers carry citations.

Does it need a GPU?

The quick start says lite mode needs no GPU. Local mode lists Ollama and 8GB RAM.

If it does not work

  • β€ΊFor ingest and query, start Ollama first and pull a chat model, for example ollama pull qwen3:latest.
  • β€ΊRun python -m veritasgraph_mcp from the repository root.
  • β€ΊFor lite mode, set OPENAI_API_KEY before starting the demo.

5 new skills a week. 1 minute to read.