Skip to main content

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.23

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

Built distributions (wheels)

Table of built distributions (wheels) for dcc-mcp-core-semantic 0.20.23
File
dcc_mcp_core_semantic-0.20.23-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
dcc_mcp_core_semantic-0.20.23-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.23-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
dcc_mcp_core_semantic-0.20.23-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
dcc_mcp_core_semantic-0.20.23-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.7 MB

Release files / dcc_mcp_core_semantic-0.20.23-cp38-abi3-win_amd64.whl

Download URL dcc_mcp_core_semantic-0.20.23-cp38-abi3-win_amd64.whl
Size 10.3 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e666e3b1b016f861d7bf1caacc94cb409a3f7f60ebc8422fc066532130862261
BLAKE2b-256 checksum
How to use checksums
c0e8b6d28436814b664a1e25d34d7648d436edcff7c5295452c45126ac86ce85
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 Sep 6, 2026.

Transparency log

Release files / dcc_mcp_core_semantic-0.20.23-cp38-abi3-manylinux_2_28_x86_64.whl

Download URL dcc_mcp_core_semantic-0.20.23-cp38-abi3-manylinux_2_28_x86_64.whl
Size 10.8 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
b66e32fab53659023a6bc99b930a2e12cdf67fecd2b1aaf8795dbe786455bcdb
BLAKE2b-256 checksum
How to use checksums
b3680a904444d5718d6c7ac0f1438873fb2e8fcac13fbc64ccce49a7b129e9b0
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 Sep 6, 2026.

Transparency log

Release files / dcc_mcp_core_semantic-0.20.23-cp38-abi3-macosx_11_0_arm64.whl

Download URL dcc_mcp_core_semantic-0.20.23-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
10a413919b28eee732d59d3137fbc49a5c0dd91ba2f434cf019c5942c5e049b7
BLAKE2b-256 checksum
How to use checksums
d9c6ba5eee975a4ea1ff597e21186d24f6b9d09210f50d3db5a2fd8260ad3311
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 Sep 6, 2026.

Transparency log

Release files / dcc_mcp_core_semantic-0.20.23-cp37-cp37m-win_amd64.whl

Download URL dcc_mcp_core_semantic-0.20.23-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
595df267b555e04d7da55f93f2cb3163591afbef6dc3ddbd441b9ddec7e5e4bb
BLAKE2b-256 checksum
How to use checksums
b9fa85939c6012e4ae231feee49cbdad10b1f8de64b27c4420b8e05f8fab9a09
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 Sep 6, 2026.

Transparency log

Release files / dcc_mcp_core_semantic-0.20.23-cp37-cp37m-manylinux_2_28_x86_64.whl

Download URL dcc_mcp_core_semantic-0.20.23-cp37-cp37m-manylinux_2_28_x86_64.whl
Size 10.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
df583de5cb11150b82dd30aff170c49a2052695be398306d989ac84fb2b1a443
BLAKE2b-256 checksum
How to use checksums
bf2438b01fe47d9037f230733759ec1f3d24d0e3101d2a68d12e18691b85091e
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 Sep 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.20.23 This release

5 release files

0.20.9

5 release files

0.20.8

5 release files

0.20.7

5 release files

0.20.6

5 release files

0.20.5

5 release files

0.20.4

5 release files

0.20.3

5 release files

0.20.2

5 release files

0.20.1

5 release files

0.20.0

5 release files

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