dcc-mcp-core-semantic
Native Rust semantic embeddings for dcc-mcp-core,
shipped as a separate PyPI wheel so the main dcc-mcp-core install stays
free of ONNX Runtime and the ~25-40 MB wheel size that comes with it.
When to install this
Only when you actually need dense semantic recall for skill / capability
search. The default pip install dcc-mcp-core install ships with a
HashedEmbedder (zero-dep, hashing-trick + character n-grams) which is
enough for ≤100-skill DCC adapters and tolerates morphology variants
like render / rendering already.
If your skill catalogue grows to many hundreds of skills, or your agents
ask in natural language that does not share token structure with your
SKILL.md metadata, install this companion wheel to upgrade
OnnxEmbedder to true dense semantic recall.
How to install
pip install 'dcc-mcp-core[semantic]'
This pulls in dcc-mcp-core-semantic (this package) via the [semantic]
extra, plus fastembed as a Python-side fallback for platforms where the
Rust wheel is not yet available.
You can also install this package directly if you want only the Rust backend without the Python fallback:
pip install dcc-mcp-core dcc-mcp-core-semantic
How it gets used
Your adapter code does not change. Once installed,
dcc_mcp_core.OnnxEmbedder() automatically prefers the Rust extension:
from dcc_mcp_core import OnnxEmbedder, VectorSkillIndex
# Loads the BAAI/bge-small-en-v1.5 model on first use, cached to
# ~/.cache/fastembed/ (or wherever DCC_MCP_EMBED_MODEL_DIR points).
emb = OnnxEmbedder()
idx = VectorSkillIndex(embedder=emb)
Configuration
Both env vars are honoured by OnnxEmbedder regardless of which backend
serves the call:
| Variable | Default | Purpose |
|---|---|---|
DCC_MCP_EMBED_MODEL |
BAAI/bge-small-en-v1.5 |
HuggingFace model name. Must be one of dcc_mcp_core_semantic.native.SUPPORTED_MODELS. |
DCC_MCP_EMBED_MODEL_DIR |
unset (fastembed default) | On-disk cache for the ONNX model bytes. Pre-place this on a shared mount for firewalled studios. |
Build from source
The source lives in the main dcc-mcp-core repository, NOT here.
Rust crate: crates/dcc-mcp-semantic/. Wheel build:
cd pkg/dcc-mcp-core-semantic
maturin build --release
ONNX Runtime is pulled in at build time via the ort crate's
download-binaries strategy. The wheel that maturin produces is
self-contained — end users do not need to install ONNX Runtime separately.
License
MIT, matching dcc-mcp-core.
Release files for dcc-mcp-core-semantic 0.20.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dcc_mcp_core_semantic-0.20.0-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details |
| dcc_mcp_core_semantic-0.20.0-cp38-abi3-manylinux_2_28_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| dcc_mcp_core_semantic-0.20.0-cp38-abi3-macosx_11_0_arm64.whl | CPython 3.8 | abi3 | macOS 11.0+ ARM64 | Details |
| dcc_mcp_core_semantic-0.20.0-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| dcc_mcp_core_semantic-0.20.0-cp37-cp37m-manylinux_2_28_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.28+ x86-64 | Details |
Total release size: 51.6 MB
Release files / dcc_mcp_core_semantic-0.20.0-cp38-abi3-win_amd64.whl
| Download URL | dcc_mcp_core_semantic-0.20.0-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
325244fc15bdd9af8fc9ec84852341613f2cb2072674ba0f6809c066d66514c8
|
|
BLAKE2b-256 checksum How to use checksums |
0aa413ff99fd27bf198afa811c650af4c8ca3dc32e8d3d00e888c5f676de47d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 12, 2026.
Transparency logRelease files / dcc_mcp_core_semantic-0.20.0-cp38-abi3-manylinux_2_28_x86_64.whl
| Download URL | dcc_mcp_core_semantic-0.20.0-cp38-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.7 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e2cdbd91b61dec734b775720d3ca2a67eb54cacb598cf5c61dcd982aa34e2c2e
|
|
BLAKE2b-256 checksum How to use checksums |
3e4415aab0ff047a1756d55f1bfbd214cc7f12819c7c72f01d9167e5e00d051f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 12, 2026.
Transparency logRelease files / dcc_mcp_core_semantic-0.20.0-cp38-abi3-macosx_11_0_arm64.whl
| Download URL | dcc_mcp_core_semantic-0.20.0-cp38-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | CPython 3.8 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1ffb409956e7e66a23b4bdc76a9702adfd7b972c81954a1124b6cff07f8a36ef
|
|
BLAKE2b-256 checksum How to use checksums |
663843b9857c6e17f441becfa3794d076a4ef6bec0a256976bd3188021ea633c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 12, 2026.
Transparency logRelease files / dcc_mcp_core_semantic-0.20.0-cp37-cp37m-win_amd64.whl
| Download URL | dcc_mcp_core_semantic-0.20.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2ecc0117c324ff21fce728fea208e93455bccb895ff757f682fa05b96a7f8e7b
|
|
BLAKE2b-256 checksum How to use checksums |
5e7e98a76c28240d357612927bcc9ca6fca2c4bd27121c7fde4cbe2c0bf80d0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 12, 2026.
Transparency logRelease files / dcc_mcp_core_semantic-0.20.0-cp37-cp37m-manylinux_2_28_x86_64.whl
| Download URL | dcc_mcp_core_semantic-0.20.0-cp37-cp37m-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.7 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
40232fe2831e3c711cb31074d9a87d489c489e2e3b05300ab098302cd0c0b62a
|
|
BLAKE2b-256 checksum How to use checksums |
55574606742061a05854b7cc4379aac35c0176fd5e2c6f6706f3a5fb4f777d56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 12, 2026.
Transparency log