sher-search
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sher-searchfind a sher about unrequited love"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sher-search
Local, auditable semantic search over a pinned, approved subset of Mirza Ghalib's Urdu corpus.
Safety and provenance boundary
The server returns existing source records only. It does not generate, rewrite, or complete verse.
The initial corpus is restricted to Mirza Ghalib.
The build refuses source manifests that are incomplete, unapproved, checksum-mismatched, or Rekhta-derived without an explicit permission reference.
The default
local-hash-v1backend is deterministic and offline, but is a lexical baseline rather than a claim of neural Urdu quality. An optional FastEmbed model can be configured after review.
Related MCP server: Personal File Search MCP Server
Quick start
uv sync --extra dev
uv run sher-search version
uv run sher-search audit-corpus --source-dir .cache/corpora/ghalib
uv run sher-search build-corpus --source-dir .cache/corpora/ghalib
uv run sher-search build-index
uv run sher-search search "subtle betrayal" --limit 5
uv run sher-search servebuild-index uses the default corpus, model, and output paths shown in the quick start. search, find, similar, and audit accept --config config/index.toml.
MCP tools
search_sher(query, poet?, limit?)find_sher(situation, tone?, limit?)similar_sher(sher, limit?)find_reply_sher(message, intent?, tone?, limit?)
Every successful result includes the exact stored Urdu couplet, stable ID, source URL, source locator, license evidence, verification state, and score components. find_reply_sher explicitly labels its result as retrieval, not a historically authored reply.
Reproducibility
Generated indexes and downloaded source checkouts live under .cache/ by default. The source commit, license evidence path and SHA-256, and source file SHA-256 are recorded in corpus/SOURCES.json and the build manifest. See docs/corpus-and-legal.md and docs/reproducibility.md for the release gate.
MCP client example
{
"mcpServers": {
"sher-search": {
"command": "uv",
"args": ["run", "--directory", "/Volumes/Internal Drive/Vibe Coding/Sher-o-Shayari", "sher-search", "serve"],
"env": {
"SHER_SEARCH_INDEX": "/Volumes/Internal Drive/Vibe Coding/Sher-o-Shayari/.cache/index",
"SHER_SEARCH_MODEL": "/Volumes/Internal Drive/Vibe Coding/Sher-o-Shayari/config/model.json"
}
}
}
}The project is currently an implementation baseline. Run the complete quality gate before publishing or redistributing generated corpus data.
Related MCP Connectors
Read-only semantic search over Vedic scripture verses, commentaries, and recorded lectures.
Public Indian legal search MCP for Roop judgments, statutes, and corpus grounding.
Semantic search through Dickens' A Christmas Carol by meaning, theme, or character.
Verified doc corpora for agents: grep-first retrieval, hashed pages, Merkle+RFC-3161 receipts
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables indexing local documents (PDF, Markdown, text, code) into a knowledge base and querying them via semantic search using local embeddings, all running privately on your machine.4-
- FlicenseNot gradedqualityDmaintenanceEnables semantic search over personal files using natural language, with optional AI summarization, all running locally.-
- AlicenseNot gradedqualityDmaintenanceProvides local semantic search over files using embeddings, enabling directory indexing and natural language queries without external services.17 PyPIMIT
- FlicenseAqualityBmaintenanceEnables querying a private local-first archive of Founders podcast transcripts using hybrid full-text and semantic retrieval via MCP.4-