Supabase
MCP server for interacting with the Supabase platform
作者による説明(英語の原文)
A fact store for AI agents, on Postgres: registered attributes, every write citing its evidence.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
FACTSTORE_DSN, FACTSTORE_EXCISE_DSN「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore",
"mcp"
],
"env": {
"FACTSTORE_DSN": "your-value",
"FACTSTORE_EXCISE_DSN": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add factstore --env FACTSTORE_DSN=your-value --env FACTSTORE_EXCISE_DSN=your-value -- uvx factstore mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"factstore": {
"command": "uvx",
"args": [
"factstore",
"mcp"
],
"env": {
"FACTSTORE_DSN": "your-value",
"FACTSTORE_EXCISE_DSN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"factstore": {
"type": "stdio",
"command": "uvx",
"args": [
"factstore",
"mcp"
],
"env": {
"FACTSTORE_DSN": "your-value",
"FACTSTORE_EXCISE_DSN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Victor-EU で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:FACTSTORE_DSN, FACTSTORE_EXCISE_DSN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは34 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A fact store for AI agents, on Postgres. Agents record what a company's systems and documents say as facts: a value for a registered attribute, in a transaction stamped with who wrote it and the document it came from. Nothing is overwritten, so the store can say what it knew on any date. Agents use it through an MCP server, and scripts through a Python SDK.
It comes with skills, procedures an agent follows: one indexes a company's systems from their exports, and one reads documents and mail into facts. The design says why it is built this way, and the evals what it was tested on. MIT-licensed.
You need Postgres 16 or later, Python 3.12 or later, and uv for uvx.
1. Postgres. Use your own, or start one. factstore init needs a superuser.
docker run -d --name factstore-pg -e POSTGRES_PASSWORD=postgres -p 5432:5432 --shm-size=1g postgres:17
2. A store, and a credential for your agent.
pip install factstore
export FACTSTORE_ADMIN_DSN=postgresql://postgres:postgres@localhost:5432/postgres factstore init acme # a store, with factstore-core factstore install acme factstore-skills # the vocabulary the skills use factstore actor acme "ingest agent" # prints the actor's ID and its credential
3. Connect your agent. In Claude Code, the plugin brings the MCP server and the skills, and asks for the credential:
/plugin marketplace add Victor-EU/factstore
/plugin install factstore@factstore
Any other MCP client runs the server with the credential in its environment:
{"mcpServers": {"factstore": {"command": "uvx", "args": ["factstore", "mcp"],
"env": {"FACTSTORE_DSN": " "}}}}
factstore skills DIR copies the skills into your agent's skills directory, such as .claude/skills. The catalogue and ingestion skills also write in bulk with the SDK, so the agent's shell needs pip install factstore.
4. Ask. "Read the invoices in ./invoices into the store" uses factstore-ingest. "Index our Shopify and QuickBooks exports" uses factstore-catalogue. "What kinds of thing does the store hold?" uses factstore-ontology.
factstore install STORE NAME installs a package by name, with the packages it depends on.
| Package | What |
|---|---|
factstore-core | Evidence, documents, confidence, currency, merges and domain time. init installs it. |
factstore-skills | The catalogue, ontology and ingestion skills, and the vocabulary the ontology skill names shapes with. |
factstore-ecom-ops | The supply side of a brand that makes in China and sells online: suppliers, SKUs, purchase orders, inspections, shipments and customs entries. Its skill reads supplier PDFs, chats and shipping emails. |
factstore-ecom-index | The IDs and join keys of what Shopify, Amazon, the 3PL and QuickBooks own, for the catalogue skill. |
Personal data. The server's rules keep people's names, addresses and phone numbers out of the store: they stay in the documents. A business that wants an attribute to hold them allows it with core/personal.
git clone https://github.com/Victor-EU/factstore && cd factstore
docker compose up -d # Postgres 17 on port 54329 cd factstore python3 -m venv .venv && .venv/bin/pip install -e ".[dev]" .venv/bin/pytest
The tests create and drop a store per test. From a source checkout, factstore install also takes a package's directory, such as ../packages/ecom-ops. packages/ describes the package format and the packages. A new version of a package registers what it adds. It may also make an attribute many or identity, the two changes the kernel allows. factstore-skills/ holds the skills.
import factstore
store = factstore.connect(" ") store.register_attribute({"ident": "shopify/order_id", "type": "string", "cardinality": "one", "unique": "identity", "doc": "Shopify's ID for an order."}) store.transact([{"e": ["shopify/order_id", "1234"], "a": "shopify/order_id", "v": "1234"}]) store.query('select e, v from "shopify/order_id"').rows
With FACTSTORE_DSN set, the same calls work at module level: factstore.transact([...]), factstore.query(...).
factstore mcp, or factstore-mcp, serves the calls as tools over stdio. The credential comes from its environment (FACTSTORE_DSN), never from a tool call. excise is listed only when FACTSTORE_EXCISE_DSN holds an excision credential as well. The tool descriptions in tools.py are the documentation models read.
| File | What |
|---|---|
schema.sql | Tables, roles, and the triggers that enforce the invariants in Postgres |
kernel.py | The writer lock, schema loading, allocation, and applying changes to the log and derived tables |
store.py | The calls: transact, query, stats, register_attribute, search_attributes, excise |
read.py | Running one read safely: read-only, rolled back, one statement, a timeout, a row cap |
stats.py | Attribute usage, signatures and ref connectivity |
server.py | The MCP server |
admin.py, cli.py | Creating stores, actors and credentials; installing packages |
packages.py | Package manifests, the packages a release carries, and the order to install them in |
tools.py | MCP tool descriptions and input schemas: the model-facing documentation |
fs.py | The kernel's own fs/ attributes |
tests/reference.py | The reference reader: a naive fold over the log, used as the test oracle |
Postgres enforces them, not just the Python code:
INSERT and SELECT on the fact table, and nothing else. Triggers refuse UPDATE, TRUNCATE, and any DELETE outside fs_excise(), even from the owner.session_user and its time from the clock, overwriting anything the client sends. Only the kernel's own functions can write fs/actor, fs/at and fs/excised_* facts.query takes one SQL statement over views (design open question 1, decided by the spike):
"po/status"(e, v, tx) in schema current, and history."po/status"(e, v, tx, op) over the whole log.factstore.as_of, which every view honours.A model writes the SQL, so read.py runs it on a separate connection:
READ ONLY transaction that is always rolled back, which undoes anything the statement changes, SET ROLE included;Advisory locks survive a rollback, so they are released after every read; a query can never hold the writer lock.
stats groups entities by signature, the exact set of attributes each one carries, and counts refs between signatures. That is co-occurrence in the form the ontology skill needs: a kind of thing is usually one signature, or a few that differ by optional attributes.
v = 'x' on any view can use.init installs factstore-core, but the kernel's tests pass core=False: the kernel knows no names, so its tests shouldn't depend on core's. The packages have their own tests.store.py; tests/test_register.py records the cases they were checked against. The "attributes registered" measure in M5 is what tunes them.