Skip to main content

grp-kb

Semantic search MCP server for an Acumatica knowledge base. Single index over one vault of markdown notes, embedded with the multilingual paraphrase-multilingual-MiniLM-L12-v2 — handles both English content and Bahasa Malaysia content (e.g. GRP manuals) well, so a query in either language can find the right doc in either language.

No Obsidian, no Smart Connections plugin, anywhere in this pipeline — the index is built directly from plain .md files with sentence-transformers.

This package ships code only. It needs a real, pre-built vault + index pair to do anything useful — either build your own (see below) or get one shared from someone who already has it (just the .md vault + kb_index.npy / kb_meta.json, no re-embedding needed on the receiving end).

Note on mixed-content corpora: if your vault has a small, distinctly-tagged subset (e.g. guide: GRP-Manual in frontmatter) mixed into a much larger general corpus, that subset can get outranked by volume on any topic that exists in both — unfiltered search may return zero of the small subset's results even in the top 15, regardless of query wording. Use guide_filter to force results from that subset when you know that's what you want; the search_kb tool description already tells a calling LLM when to do this.

Build an index

export KB_VAULT_DIR=/path/to/vault
export KB_MCP_INDEX_DIR=/path/to/index
python -m grp_kb.build_index

Optional env vars: KB_FILE_GLOB (default *.md) to scope which files get indexed, KB_EMBED_MODEL (default paraphrase-multilingual-MiniLM-L12-v2) to use a different sentence-transformers model.

Run the server

export KB_VAULT_DIR=/path/to/vault
export KB_INDEX_DIR=/path/to/index
grp-kb

Register with Claude Code

claude mcp add grp-kb -s user \
  -e KB_VAULT_DIR=/path/to/vault \
  -e KB_INDEX_DIR=/path/to/index \
  -- grp-kb

Tools

  • search_kb(query, top_k=10, source_only=False, guide_filter="") — returns a JSON array of results (score, path, heading, title, breadcrumb, forms, guide, snippet).
  • read_kb_file(path) — full markdown content by relative path (as returned by search_kb).

Metadata

Release files for grp-kb 0.1.8

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

Source distribution (sdist)

Source distribution for grp-kb 0.1.8
File Size Uploaded Provenance
grp_kb-0.1.8.tar.gz 24.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for grp-kb 0.1.8
File Interpreter ABI Platform
grp_kb-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 42.5 kB

Release files / grp_kb-0.1.8.tar.gz

Download URL grp_kb-0.1.8.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d4e95219431d5c84cb5519bc0f80aa85af6681eb6aba6582041aac682ec5d208
BLAKE2b-256 checksum
How to use checksums
f4d5f85d66b6c59a6fb480021f864e99ed151b127f053e6d16d10f3dbbe3cbce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / grp_kb-0.1.8-py3-none-any.whl

Download URL grp_kb-0.1.8-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
862099bbe9a1475bd2b63e287b7962050853ec6ed1bed6d7c35a8b87892820bd
BLAKE2b-256 checksum
How to use checksums
f427b1324a5c9320e7878e599701d7927398d4c54b6ed0225d98bbc5ce0e4f23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for grp-kb 0.1.8

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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