Skip to main content

fraise-mcp

An MCP server for a running Fraise daemon. It exposes two tools, recall and remember, each taking one FQL statement: recall runs every read, a recall, a when or a describe in front of a recall, and remember every write. It embeds every statement's text locally so retrieval is hybrid (text and vector) out of the box. The model writes plain FQL and never a vector.

Run

uvx fraise-mcp

Register it with your agent host:

claude mcp add fraise -- uvx fraise-mcp
codex mcp add fraise -- uvx fraise-mcp

The server forwards to a daemon that runs separately (brew services start fraise, or systemctl --user start fraise), like a database behind a connection URL.

Provenance

Every release is published to PyPI from this repository's release workflow, with a PEP 740 attestation that PyPI shows as the file's provenance. A downloaded file verifies against the repository:

uvx pypi-attestations verify pypi --repository https://github.com/FraiseHQ/fraise pypi:fraise_mcp-<version>-py3-none-any.whl

Configure

Every setting is a flag, and each flag falls back to an environment variable:

Flag Environment Default
--addr FRAISE_ADDR http://localhost:9876
--model FRAISE_EMBEDDING_MODEL BAAI/bge-small-en-v1.5
--no-vectors FRAISE_NO_VECTORS=1 vectors on

The model is any text model fastembed supports. It runs on ONNX Runtime, with no torch, and loads on the first statement that needs a vector, so the server starts without it. The first load downloads the model files into ~/.cache/fraise-mcp, or $XDG_CACHE_HOME/fraise-mcp when XDG_CACHE_HOME is set, and later loads read them from there; FASTEMBED_CACHE_PATH names another directory. A graph's first vector fixes its dimension, so a graph keeps the model it was first written with.

What gets embedded

A remember embeds its fact. A recall embeds its search terms, the words and phrases before its first clause. An explain recall … embeds the same terms as the recall it prefixes, which it ranks exactly alike. The server appends vec:$v and binds the vector beside the statement. A recall with no terms, where anchors alone seed the search, is sent as written, and so is a describe recall, which answers with the shape of what its recall reaches and would reach every fact holding a vector if it carried one, and any statement the server cannot read that far: the daemon checks every statement, and its error messages come back to the model as tool errors.

What a recall answers

The recall tool answers with one line per fact, best first, each with the dates its fact holds in front, and beside them with the daemon's response as structured content, under the same output schema as the built-in fraise mcp bridge. An explain recall … carries its explain blocks in both: whole in the structured content, and in the lines as one for the query above the facts and one under each fact, written as the built-in bridge writes them. See Explained recall.

Metadata

Release files for fraise-mcp 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fraise-mcp 0.1.2
File Size Uploaded Provenance Actions
fraise_mcp-0.1.2.tar.gz 14.5 kB With provenance Details for fraise_mcp-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fraise-mcp 0.1.2
File Interpreter ABI Platform Actions
fraise_mcp-0.1.2-py3-none-any.whl Python 3 none any Details for fraise_mcp-0.1.2-py3-none-any.whl

Total release size: 33.0 kB

Release files / fraise_mcp-0.1.2.tar.gz

Download URL fraise_mcp-0.1.2.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
12d78336b99b66f63bb5fa8e3147cc39866e13f53b97c39d647b80e21c69714c
BLAKE2b-256 checksum
How to use checksums
efbc0f565166f95c106f6253164788741479e9beb5f80292cfe306b95e5c7441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / fraise_mcp-0.1.2-py3-none-any.whl

Download URL fraise_mcp-0.1.2-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce759c2cab690ed183eecfd8416ae0e49e4b5386c31b71ab753e5d5843da3507
BLAKE2b-256 checksum
How to use checksums
8a108366fccad4118ca3ba0743351c93b93f7c8eade2e44d65798d65c5adbf97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for fraise-mcp 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fraise_mcp-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page