GuidesSQLite
An MCP server for SQLite that runs in the same process.
SQLite needs no server, so neither does this. Point DeepORG at a database file and your AI client can search its tables and ask questions of it, with each question compiled into one SQLite statement. The built-in demo runs this way.
Try it first
One command, no setup.
The built-in demo is a SaaS company on SQLite: accounts, subscriptions, invoices and support tickets, with saved queries and workflows. It runs inside the MCP process, with nothing else to start:
curl -fsSL https://deeporg.io/install.sh | bash
claude mcp add deeporg -- deeporg mcp --demoAsk your client which account is most at risk of churning. The demo is extracted to ./graphjin-demo; delete that folder to reset it.
Connect
Point it at your own file.
# config/dev.yml
sources:
- name: local
kind: database
type: sqlite
default: true
# a relative path is read from the folder DeepORG starts in
path: /absolute/path/to/app.db
read_only: true # start read-onlyclaude mcp add deeporg -- deeporg mcp --path /absolute/path/to/configUse absolute paths in both places: your AI client starts the process from a folder of its choosing.
What you get
The same engine as on a server database.
- One statement per question. Nested results are built inside SQLite with
json_objectandjson_group_array. - Foreign keys become relationships. Declared foreign keys are discovered, so the agent follows real joins.
- Search and geo. Full-text search uses FTS5 tables; geo filters use SpatiaLite where it is loaded.
- Rules still apply. Roles, row filters and
read_onlywork exactly as they do on Postgres, which makes a SQLite copy a safe place to try a policy out.
Limits
Where SQLite differs.
- Version. SQLite 3.25 or later, for window functions and the JSON functions the engine uses.
- One writer. SQLite allows one write at a time. Fine for an agent and a person; not a busy multi-user backend.
- No array columns. Array filters and joins are Postgres and MongoDB features.
Go deeper
Related pages.
- Demos: the other demo companies and what each one shows.
- MCP server for PostgreSQL: the five questions to ask any database MCP server.
- MCP: every tool the client sees.
- Database support: every dialect side by side.