| Crates.io | memkb |
| lib.rs | memkb |
| version | 0.0.2 |
| created_at | 2025-08-28 03:23:29.060337+00 |
| updated_at | 2025-09-01 18:01:19.247251+00 |
| description | A local AI in memory RAG for markdown files in a folder exposed as MCP |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1813521 |
| size | 205,045 |
A Rust-based MCP (Model Context Protocol) server that provides AI-powered semantic search over markdown documentation using local LLMs all in memory!
# With embedding and generation servers
cargo install memkb
memkb --directory ./docs -e http://127.0.0.1:9095/v1 -g http://127.0.0.1:9091/v1
-p, --port <PORT> MCP server port [default: 8080]
-H, --host <HOST> Server host [default: localhost]
-d, --directory <DIRECTORY> Directory with .md files [default: .]
-e, --embedding-url <URL> Embedding server endpoint
-g, --generation-url <URL> Generation server endpoint
-c, --chunk-size <SIZE> Chunk size in characters [default: 1000]
-o, --overlap <OVERLAP> Chunk overlap in characters [default: 200]
--test Enable web test interface on port+1
.md files and chunks themWhen using --test, a web interface is available at http://localhost:8081 (port+1) for easy testing.
The server exposes an ask tool that can be used by MCP-compatible clients like Claude Desktop.