Sharing my Zotero-MCP + Claude Skill setup

I have a pretty large Zotero library, about 9k entries, in a couple of languages. I recently installed Zotero-MCP with semantic search to improve that:

https://stevenyuyy.us/zotero-mcp/

It works great, but it can be difficult to use well, and difficult to output the results as I like them, so I have been using Claude AI's new "skills" feature to create a skill that would know how to do all of this for me, so I can simply ask Claude to search for me.

This worked well, but it uses a lot of tokens. A search might take 2,372 tokens. However, Claude recently posted a blog post about a new way of working with MCPs that is much more efficient:

https://www.anthropic.com/engineering/code-execution-with-mcp

Basically, you have a piece of code masticate the results before feeding them to Claude. So, I had Claude Code try to implement such a solution for me. (Note that my workflow is done entirely in Claude Code, I don't think this would work in Claude's desktop app, since it involves running that code.)

I've shared my setup here:

https://github.com/kerim/zotero-code-execution

This is all vibe-coded so don't ask me to explain anything! I just know it works, and the number of tokens for a search is now only 582.
Sign In or Register to comment.