feat: add search_documents MCP tool for cached documentation #116

Merged
jonas.hanisch merged 1 commit from feat/115-mcp-search-documents into main 2026-01-24 10:56:10 +00:00
Owner

Summary

  • Adds new search_documents MCP tool that searches cached documentation from Context7 and WebFetch
  • Enables recalling previously fetched library docs without re-querying external sources
  • Uses existing backend /api/data/documents/search endpoint

Use Cases

  1. Avoid redundant Context7 calls - If documentation was fetched earlier in the session, reuse it
  2. Cross-session knowledge - Access library docs fetched in previous sessions
  3. Documentation recall - "What did Context7 say about React hooks earlier?"

Test Plan

  • Build plugin with pnpm run build:plugin
  • Sync plugin with pnpm run sync-marketplace
  • Restart Claude Code
  • Test search_documents MCP tool with cached docs

Closes #115

🤖 Generated with Claude Code

## Summary - Adds new `search_documents` MCP tool that searches cached documentation from Context7 and WebFetch - Enables recalling previously fetched library docs without re-querying external sources - Uses existing backend `/api/data/documents/search` endpoint ## Use Cases 1. **Avoid redundant Context7 calls** - If documentation was fetched earlier in the session, reuse it 2. **Cross-session knowledge** - Access library docs fetched in previous sessions 3. **Documentation recall** - "What did Context7 say about React hooks earlier?" ## Test Plan - [ ] Build plugin with `pnpm run build:plugin` - [ ] Sync plugin with `pnpm run sync-marketplace` - [ ] Restart Claude Code - [ ] Test `search_documents` MCP tool with cached docs Closes #115 🤖 Generated with [Claude Code](https://claude.ai/code)
feat: add search_documents MCP tool for cached documentation
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 35s
2e3ad11fae
Adds a new MCP tool that allows searching cached documentation from
Context7 and WebFetch without re-querying external sources. This enables
recalling previously fetched library docs across sessions.

Closes #115

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed feat/115-mcp-search-documents from 2e3ad11fae
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 35s
to 798d6d1002
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m22s
CI / validate-plugin (pull_request) Successful in 1m12s
2026-01-24 10:39:14 +00:00
Compare
jonas.hanisch force-pushed feat/115-mcp-search-documents from 798d6d1002
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m22s
CI / validate-plugin (pull_request) Successful in 1m12s
to e46525642e
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m23s
CI / validate-plugin (pull_request) Successful in 40s
2026-01-24 10:42:14 +00:00
Compare
jonas.hanisch force-pushed feat/115-mcp-search-documents from e46525642e
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m23s
CI / validate-plugin (pull_request) Successful in 40s
to 2fff6fc2f5
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Failing after 2s
CI / validate-plugin (pull_request) Has been skipped
2026-01-24 10:53:10 +00:00
Compare
jonas.hanisch force-pushed feat/115-mcp-search-documents from 2fff6fc2f5
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Failing after 2s
CI / validate-plugin (pull_request) Has been skipped
to de07f7d66a
Some checks failed
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Failing after 2s
CI / validate-plugin (pull_request) Has been skipped
2026-01-24 10:55:43 +00:00
Compare
jonas.hanisch deleted branch feat/115-mcp-search-documents 2026-01-24 10:56:10 +00:00
Sign in to join this conversation.
No description provided.