dsh-context7
Manifest valid★ 5Fetches up-to-date, version-pinned library documentation and code examples from context7.com for DSH agents via context7_search and context7_get_docs tools.
dsh-context7
Up-to-date library documentation for DeepSeek Harness, powered by Context7.
This host-only plugin connects DSH to the official Context7 Public API v2, so your agent can always fetch current, version-pinned documentation and code examples for software libraries. It registers two model tools:
| Tool | Purpose |
|---|---|
context7_search | Search libraries by name (optionally with a natural-language question for LLM ranking). Returns matches with their Context7 library IDs (e.g. /vercel/next.js). |
context7_get_docs | Fetch LLM-reranked documentation for one library by ID (or bare name, auto-resolved) plus a natural-language question: code snippets, doc snippets, library rules and source URLs. Supports version pinning (e.g. v15.1.8) and a fast low-latency mode. |
No API key is required — Context7 allows keyless access with low rate limits. For higher limits, get a ctx7sk-prefixed key from the Context7 dashboard.
Installing
From npm (published):
dsh plugin --profile web add dsh-context7
From GitHub:
dsh plugin --profile web add github:Nrxous/dsh-context7
Restart DSH after installing. The tools are called automatically whenever the model needs current library docs, or you can trigger them by asking directly.
Configuring the API key (optional)
Set config.apiKey in your profile patch layer — ~/.dsh/profiles/<name>/cordis.patch.yml — which is applied after every bundle layer and survives plugin updates:
- id: dsh-context7
config:
apiKey: ctx7sk_your-key-here
Save and restart DSH. With a key set, requests carry an Authorization: Bearer header for higher rate limits. Without one, the plugin keeps working at keyless limits.
Development
Pure JS plugin, no build step — main: src/index.js, runtime dependency @deepseek-ai/schemastery (provided by the host).
# Hot-mount into the web profile (no restart)
dev_install_package <this-directory>
# or inside the injector environment
dev_inject_plugin <this-directory>
License
Apache-2.0
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.2.0 | — | — |
Comments
Loading…
Similar plugins
by MkaliezZ
Version-aware documentation query with excerpt bounding for DSH; host-supplied lookup, no hard-coded web provider.
★ 0
MIT
TypeScript
Aug 29, 2026
dsh plugin --profile web add @mkaliezz/dsh-docsby umineko987
提供 Grok-compatible 网页搜索、保留来源分页、Context7 与 Exa 文档检索、有界网页提取、站点映射、离线研究计划和只读诊断。
★ 4
↓ 82/wk
NOASSERTION
TypeScript
Oct 25, 2026
dsh plugin --profile web add @kkkneko/dsh-search-enhanceby whitefirer
dsh(DeepSeek Harness)插件:让 agent 读写浏览器所在机器的本地文件——File System Access 授权 + WS 中继,含非安全上下文兼容模式
★ 4
↓ 128/wk
MIT
JavaScript
Aug 23, 2026
dsh plugin --profile web add dsh-browser-fsby sunshine-lang
PDF toolbox for DeepSeek Harness: extract text, metadata, and page ranges via pdfjs-dist (local, no API key)
★ 8
↓ 201/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add dsh-pdfby deepseekv41flash
给 DSH 模型每轮回填宿主实测的上下文占用,并阻止"上下文快用尽"的错判被压缩摘要继承。
★ 7
↓ 77/wk
MIT
JavaScript
Oct 12, 2026
dsh plugin --profile web add dsh-context-truthby JohnXu22786
Doctrove: versioned library documentation retrieval MCP server for coding agents — catalog lookup, version selection and focus-ranked doc extraction, with zero runtime dependencies and a dsh bundle.
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-doctrove