# Lorebase MCP server

> An open-source ontology platform that lets AI agents read, version, and merge enterprise knowledge graphs via MCP and a REST API.

- Repository: https://github.com/aantenore/lorebase
- Page: https://hostedmcp.org/servers/aantenore/lorebase
- Transport: —
- Stars: 2
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LOREBASE_URL` | no | no |  |

## FAQ

### How do AI agents interact with Lorebase?

Agents can read knowledge through a REST API or the Herald MCP server, and they can write to the knowledge base through governed Operations and Proposals.

### Does Lorebase require a language model for reading data?

No, reads are deterministic SQL queries over materialized branch heads and do not use a language model in the read path.

### What happens when data sources disagree?

Instead of the newest write winning, conflicting values are sent to a reconciliation queue for human review.

### Can I use my existing Postgres database with Lorebase?

Yes, Lorebase is self-hosted on Postgres and uses it as its only datastore.
