Skip to content
VS Code

Zotero MCP for VS Code

io.github.kujenga/zotero-mcp

Search your Zotero library, retrieve item metadata, and read full text from AI assistants.

client:VS Code transport:stdio runtime:pypi

Install Zotero MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "zotero-local",
      "description": "ZOTERO_LOCAL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zotero-api-key",
      "description": "ZOTERO_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zotero-library-id",
      "description": "ZOTERO_LIBRARY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zotero-library-type",
      "description": "ZOTERO_LIBRARY_TYPE",
      "password": true
    }
  ],
  "servers": {
    "zotero-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "zotero-mcp"
      ],
      "env": {
        "ZOTERO_LOCAL": "${input:zotero-local}",
        "ZOTERO_API_KEY": "${input:zotero-api-key}",
        "ZOTERO_LIBRARY_ID": "${input:zotero-library-id}",
        "ZOTERO_LIBRARY_TYPE": "${input:zotero-library-type}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Zotero MCP in other clients