Skip to content
Skill

zotero-mcp-code

by kerim

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "zotero-mcp-code" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/zotero-code-execution && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/zotero-code-execution/SKILL.md "https://raw.githubusercontent.com/kerim/zotero-code-execution/main/skill.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Search Zotero library using code execution for efficient multi-strategy searches without crash risks. Use this skill when the user needs comprehensive Zotero searches with automatic deduplication and ranking.

🚀 Basic Usage

For 90% of Zotero searches, use this simple pattern: `python import sys sys.path.append('/Users/niyaro/Documents/Code/zotero-code-execution') import setup_paths from zotero_lib import SearchOrchestrator, format_results

Zotero MCP Code Execution Skill

Search your Zotero library using code execution for safe, efficient, comprehensive searches.

🎯 Core Concept

Instead of calling MCP tools directly (which loads all results into context and risks crashes), write Python code that: • Fetches large datasets (50-100+ items per strategy) • Filters and ranks in code execution environment • Returns only top N results to context Benefits: • ✅ No crash risk (large data stays in code) • ✅ Automatic multi-strategy search • ✅ Automatic deduplication • ✅ Automatic ranking • ✅ One function call instead of 5-10

Multi-Term Searches

Zotero treats multi-word queries as AND conditions! ❌ Wrong: comprehensive_search("Atyal Atayal 泰雅族") → finds 0 results (needs ALL terms) ✅ Right: Search each term separately and merge results (see Pattern 6 below) When to use multi-term OR search: • Multiple spellings (Atayal, Atyal) • Multiple languages (Atayal, 泰雅族) • Synonyms (skill transfer, transfer of learning)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
31 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars31
Forks3
Issues1
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code