factstore
A fact store for AI agents, on Postgres: registered attributes, every write citing its…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- 2 months ago
About factstore
factstore is an open-source MCP server. It runs locally on your machine and is started by your AI client.
A fact store for AI agents, on Postgres: registered attributes, every write citing its evidence.
Install
Run in a terminal
claude mcp add factstore --env FACTSTORE_DSN='<FACTSTORE_DSN>' --env FACTSTORE_EXCISE_DSN='<FACTSTORE_EXCISE_DSN>' -- uvx factstoreAdd to claude_desktop_config.json
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore"
],
"env": {
"FACTSTORE_DSN": "<FACTSTORE_DSN>",
"FACTSTORE_EXCISE_DSN": "<FACTSTORE_EXCISE_DSN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore"
],
"env": {
"FACTSTORE_DSN": "<FACTSTORE_DSN>",
"FACTSTORE_EXCISE_DSN": "<FACTSTORE_EXCISE_DSN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"factstore": {
"type": "stdio",
"command": "uvx",
"args": [
"factstore"
],
"env": {
"FACTSTORE_DSN": "<FACTSTORE_DSN>",
"FACTSTORE_EXCISE_DSN": "<FACTSTORE_EXCISE_DSN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore"
],
"env": {
"FACTSTORE_DSN": "<FACTSTORE_DSN>",
"FACTSTORE_EXCISE_DSN": "<FACTSTORE_EXCISE_DSN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore"
],
"env": {
"FACTSTORE_DSN": "<FACTSTORE_DSN>",
"FACTSTORE_EXCISE_DSN": "<FACTSTORE_EXCISE_DSN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
FACTSTORE_DSNThe credential `factstore actor STORE NAME` prints: a Postgres connection string for one actor of one store.RequiredFACTSTORE_EXCISE_DSNAn excision credential (`factstore actor --excise`). Only then is the excise tool listed.
Pricing
Open source
factstore FAQ
Is factstore free?
Yes. factstore is open source, so you can use and self-host it for free.
How do I add factstore to Claude Code?
Run this command in your terminal: claude mcp add factstore --env FACTSTORE_DSN='<FACTSTORE_DSN>' --env FACTSTORE_EXCISE_DSN='<FACTSTORE_EXCISE_DSN>' -- uvx factstore
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.