Claude Code Import Plugin - Marcel-Bich/marcel-bich-claude-marketplace GitHub Wiki
Import external documentation locally for Claude Code. Uses smart fallback chain to bypass AI-blocking sites.
Some documentation sites (like Pimcore) block AI access via WebFetch. This plugin uses a priority chain:
- Context7 - Check if library exists in Context7 database (fastest, structured)
- WebFetch - Direct fetch if not in Context7 (fast)
- Playwright - Browser automation if blocked (runs visible - NOT headless to bypass bot detection)
User is informed at each fallback step.
- Smart Fallback Chain - Tries Context7, WebFetch, then Playwright
- Version Preservation - Old versions are kept when updating to newer versions
- Dynamic Folder Structure - Organizes imports by library, version, or domain
- Search - Find content within cached documentation
- Metadata - Each import includes source URL, date, and method
Imports are organized intelligently in mabi-import/:
mabi-import/
pimcore/ # Library documentation
v2025.4/
datahub.md
data-importer.md
react/
v19/
hooks.md
website/ # Regular websites
example.com/
api-docs.md
local/ # Local file imports
myproject/
config.md
| Command | Description |
|---|---|
/import:url-or-path <url|path> |
Import from URL or local path |
/import:list |
List all cached documentation |
/import:search <query> |
Search within cached docs |
/import:update [pattern] |
Re-fetch from original source |
/import:url-or-path https://docs.pimcore.com/platform/Data_Importer/
The plugin will:
- Check Context7 for "pimcore" documentation
- Detect version (e.g., v2025.4)
- Save to
mabi-import/pimcore/v2025.4/data-importer.md
/import:url-or-path /path/to/local/docs/config.md
You will be asked to confirm and provide context for organization.
/import:search CSV format
/import:update # List all, choose interactively
/import:update pimcore # Update all pimcore docs
/import:update pimcore/v2025.4 # Update specific version
When a library has a new version online, the old version is preserved and a new folder is created. This keeps historical documentation available for users on older versions.
Imported docs include metadata:
---
source: https://docs.pimcore.com/platform/Data_Importer/
imported: 2026-01-17
method: context7
version: v2025.4
---
# Document Title
Content...- Context7 MCP plugin (recommended, for structured docs)
- Playwright MCP plugin (for blocked sites)
- WebFetch tool (built-in)
claude plugin marketplace add Marcel-Bich/marcel-bich-claude-marketplace
claude plugin install import@marcel-bich-claude-marketplaceMIT - See LICENSE for full terms.