Zotero Chunk MCP (Ccam80)

MCP搜索检索

提供方 未标注

搜索检索 stdio · 本地进程 OAuth 授权 社区 / 第三方
查看接入方式

全面解析Zotero Chunk MCPMCP Server的核心功能、安装配置和实用案例。作为顶级Model Context Protocol服务器,Zotero Chunk MCP能让AI助手访问实时数据、执行操作,为您提供更智能的工作体验和自动化解决方案。

一句话选型结论

按资料字段整理

Zotero Chunk MCP (Ccam80) 属于搜索检索类 MCP 服务器,stdio · 本地进程,OAuth 授权,有可直接执行的安装命令。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类搜索检索 传输方式stdio · 本地进程 鉴权OAuth 授权 部署方式本地部署
GitHub 星标 未标注 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

搜索检索
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

安装与配置

stdio · 本地进程 OAuth 授权
客户端在本机拉起子进程,数据不出本机
pip install -e .\"

这条命令只是入口,具体启动参数请按官方文档补齐,不要直接照搬到别的服务器。

  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Python,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
联网搜索取证

让模型查最新资料并给出出处。

资料聚合

把一个主题的网页、文档集中抓回来整理。

情报与竞品检索

按关键词持续检索行业动态和竞品信息。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 使用前要准备好OAuth 授权对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在搜索检索场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Zotero Chunk MCP (Ccam80)当前 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Brave Search 433812ff 2 未标注 未标注 无 2026-05-17
Sequentialthinking 1 SSE · 服务端推送 远程部署 有 2026-05-18
Baidu Netdisk 未标注 未标注 未标注 无 2026-05-17
ragflow 未标注 stdio · 本地进程 本地部署 有 2026-04-11
mindsdb (430e18) 未标注 未标注 未标注 有 2026-05-17

服务器档案

搜索检索
字段来自项目仓库与公开索引,中文说明由本站标注
提供方未标注上游标注的维护方 未标注
分类搜索检索本站按上游分类展示
连接方式stdio · 本地进程客户端在本机拉起子进程,数据不出本机
鉴权方式OAuth 授权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · Python本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

15.1 KB
来自项目仓库与上游目录的原文,未做删改

DeepZotero

Semantic search over a Zotero library. PDFs are extracted (text, tables, figures), chunked, embedded, and stored in ChromaDB. An MCP server exposes the index to Claude Code (or any MCP client) as 10 tools for semantic and exact-word search over text, tables and figures, context expansion, citation graph lookup, indexing, and cost tracking.

What it extracts

  • Text — section-aware chunks with overlap, classified by document section (abstract, methods, results, etc.)
  • Tables — vision-based extraction via Claude Haiku 4.5. Each table is rendered to PNG and transcribed to structured markdown (headers, rows, footnotes). Table extraction is vision-only: with vision disabled, or without an Anthropic key, no tables are extracted.
  • Figures — detected with captions, extracted as PNGs, searchable by caption text.

Requirements

  • Python 3.10+
  • A Gemini API key for embeddings (unless using embedding_provider: "local")
  • An Anthropic API key for vision-based table extraction (optional but recommended)
  • Zotero 8 with PDFs in storage/. Citation keys are read from Zotero's native citationKey field, which earlier versions do not have — on Zotero 7 every citation key comes back empty.
  • Tesseract-OCR — only needed to OCR scanned / image-only PDF pages. Install Tesseract with the language data you need, then set the TESSDATA_PREFIX environment variable to its tessdata directory (e.g. C:\Program Files\Tesseract-OCR\tessdata). PyMuPDF locates the OCR data via that variable; without it, scanned pages are skipped ("OCR disabled because Tesseract language data not found."). Text-based PDFs do not need Tesseract.

Install as a Claude Code plugin

Requires uv on PATH. The repo is its own marketplace:```
/plugin marketplace add ccam80/deep-zotero
/plugin install deep-zotero


The server launches through `uvx`, which fetches the pinned `deep-zotero` wheel from PyPI and caches it.

In the environment Claude Code starts from, set `DEEP_ZOTERO_DATA_DIR` (the Zotero data directory holding `zotero.sqlite` and `storage/`), `DEEP_ZOTERO_CHROMA_PATH` (where the index lives), `GEMINI_API_KEY` (embeddings) and `ANTHROPIC_API_KEY` (vision table extraction during indexing).

Index the library once before searching: `deep-zotero-index -v`.

`/deep-zotero:install` walks a coding agent through the whole setup: variables, Tesseract, and the first index.

## Setup

### 1. Configuration

The four environment variables above are the whole configuration. Every other setting has a sensible default.

To override more than those four, write a JSON config and point `DEEP_ZOTERO_CONFIG` at it (or pass `--config PATH` to the CLI):```json
{
    "zotero_data_dir": "~/Zotero",
    "chroma_db_path": "~/.local/share/deep-zotero/chroma",
    "gemini_api_key": "YOUR_GEMINI_KEY",
    "anthropic_api_key": "YOUR_ANTHROPIC_KEY"
}

A config file takes precedence over the environment wherever both supply a setting. See Configuration reference for every field.

2. API keys

Gemini (required for default embeddings):
Get a key at aistudio.google.com/app/apikey. Set it as gemini_api_key in config or GEMINI_API_KEY env var. If you don't want to use Gemini, set "embedding_provider": "local" to use ChromaDB's built-in all-MiniLM-L6-v2 model (no API key needed, lower quality).

Anthropic (required for vision table extraction):
Get a key at console.anthropic.com. Set it as anthropic_api_key in config or ANTHROPIC_API_KEY env var. Table extraction is vision-only — without this key, text and figures are still indexed but no tables are extracted. Vision extraction uses the Anthropic Batch API with Claude Haiku 4.5 — cost is roughly $0.016 per table, with prompt caching reducing cost on large batches.

To disable vision extraction entirely:```json
{
"vision_enabled": false
}


### 3. Index your library```bash
deep-zotero-index -v

To test with a subset first:```bash
deep-zotero-index --limit 10 -v


This reads the Zotero SQLite database (read-only, safe while Zotero is open), extracts text/tables/figures from each PDF, chunks the text, embeds via Gemini, and stores everything in ChromaDB.

CLI options:

| Flag | Description |
|------|-------------|
| `--force` | Delete and rebuild index for all matching items |
| `--limit N` | Only index N items |
| `--item-key KEY` | Index a single Zotero item |
| `--title PATTERN` | Regex filter on title (case-insensitive) |
| `--no-vision` | Skip vision table extraction for this run |
| `--config PATH` | Use a different config file |
| `-v` | Debug logging |

The indexer is incremental — it only processes items not already in the index. Use `--force` after changing `chunk_size`, `embedding_dimensions`, or `ocr_language`.

You can also trigger indexing from the MCP client via the `index_library` tool.

### 4. Check it works

Call `get_index_stats` from Claude Code. It should report the documents and chunks just indexed.

If the tools are missing, the server did not start: confirm `uv` is on `PATH` and that the environment variables are visible to Claude Code's process.

For scanned-page OCR, `TESSDATA_PREFIX` (see Requirements) must be set in that same environment.

---

## Configuration reference

### Zotero

| Field | Default | Description |
|---|---|---|
| `zotero_data_dir` | `~/Zotero` | Path to Zotero's data directory (contains `zotero.sqlite` and `storage/`). Falls back to `DEEP_ZOTERO_DATA_DIR` env var |
| `chroma_db_path` | `~/.local/share/deep-zotero/chroma` | Where the ChromaDB index is stored on disk. Falls back to `DEEP_ZOTERO_CHROMA_PATH` env var |

### Embedding

| Field | Default | Description |
|---|---|---|
| `embedding_provider` | `"gemini"` | `"gemini"` for Gemini API, `"local"` for ChromaDB's built-in all-MiniLM-L6-v2 (no key needed) |
| `embedding_model` | `"gemini-embedding-001"` | Gemini model name (only used when provider is `"gemini"`) |
| `embedding_dimensions` | `768` | Output vector dimensions. `gemini-embedding-001` supports 64-3072. Changing requires `--force` re-index |
| `gemini_api_key` | `null` | Falls back to `GEMINI_API_KEY` env var |
| `embedding_timeout` | `120.0` | Timeout in seconds for embedding API calls |
| `embedding_max_retries` | `3` | Max retries for failed embedding calls |
| `embedding_rate_limit_backoff` | `30.0` | Seconds to wait before retrying after an HTTP 429 (per-minute quota) |

### Chunking

| Field | Default | Description |
|---|---|---|
| `chunk_size` | `400` | Target chunk size in tokens (~4 chars/token). Changing requires `--force` re-index |
| `chunk_overlap` | `100` | Overlap between consecutive chunks in tokens |

### Vision

| Field | Default | Description |
|---|---|---|
| `vision_enabled` | `true` | Enable vision table extraction during indexing |
| `vision_model` | `"claude-haiku-4-5-20251001"` | Anthropic model for table transcription |
| `anthropic_api_key` | `null` | Falls back to `ANTHROPIC_API_KEY` env var |

### Reranking

| Field | Default | Description |
|---|---|---|
| `rerank_enabled` | `true` | Enable composite score reranking |
| `rerank_alpha` | `0.7` | Similarity exponent (0-1). Lower = more metadata influence |
| `rerank_section_weights` | `null` | Override default section weights |
| `rerank_journal_weights` | `null` | Override default journal quartile weights |
| `oversample_multiplier` | `3` | Oversample factor before reranking |
| `oversample_topic_factor` | `5` | Additional factor for `search_topic` |

### OCR

| Field | Default | Description |
|---|---|---|
| `ocr_language` | `"eng"` | Tesseract language code for scanned pages (`"fra"`, `"deu"`, etc.). Changing requires `--force` re-index |

### OpenAlex

| Field | Default | Description |
|---|---|---|
| `openalex_email` | `null` | Email for OpenAlex polite pool (10 req/s vs 1 req/s). Falls back to `OPENALEX_EMAIL` env var |

---

## MCP tools

### Semantic search

**`search_papers`** — Passage-level semantic search. Returns matching text with surrounding context, reranked by composite score (similarity × section weight × journal weight). Supports `required_terms` for combining semantic search with exact word matching — each term must appear as a whole word in the passage.

Parameters: `query` (optional when `required_terms` is given), `top_k` (1-50), `context_chunks` (0-3), `year_min`, `year_max`, `author`, `tag`, `collection`, `chunk_types` (text/figure/table), `sections`, `journal_quartiles`, `section_weights`, `journal_weights`, `required_terms` (words that must appear as whole words), `terms_operator` (AND/OR).

**`search_topic`** — Paper-level topic search, deduplicated by document. Groups chunks by paper, scores by average and best composite relevance.

Parameters: `query`, `num_papers` (1-50), `year_min`, `year_max`, `author`, `tag`, `collection`, `chunk_types`, `sections`, `journal_quartiles`, `section_weights`, `journal_weights`.

### Filtering```python
search_papers(query="baroreflex sensitivity", author="Olufsen", journal_quartiles=["Q1"])
search_papers(required_terms=["SDNN"], sections=["results"], year_min=1991, year_max=1995)
Parameter Applied Match
year_min, year_max, chunk_types, sections, journal_quartiles during retrieval exact
author, tag, collection after retrieval case-insensitive substring
section_weights, journal_weights during reranking, so only with query reorders, excludes nothing

Valid sections: abstract, introduction, background, methods, results, discussion, conclusion, references, appendix, preamble, table, figure, unknown.

Valid journal_quartiles: Q1, Q2, Q3, Q4, and unknown for journals with no quartile.

Tables and figures

search_papers covers text, tables and figures. Every result names its
chunk_type; narrow with chunk_types:```python
search_papers("impedance measurement", chunk_types=["table"])


Table results add `table_index`, `caption`, `num_rows` and `num_cols`, with the
table markdown in `passage`. Figure results add `figure_index`, `caption` and
`image_path` (the extracted PNG), with the caption in `passage`.

Table and figure chunks carry `section` values of `table` and `figure` rather
than the section they appeared in. Both weigh 1.0 in reranking.

### Exact word matching

`required_terms` lists words that must appear in the passage as whole words,
case-insensitively — `heart` matches `Heart` but not `hearth`. `terms_operator`
is `AND` (default) or `OR`.

Terms constrain the search itself, so a passage containing a rare acronym is
found even when semantic similarity would not rank it:```python
search_papers("autonomic regulation", required_terms=["SDNN"])

Omit query to retrieve every matching passage in the index, unranked, with no
embedding call:```python
search_papers(required_terms=["propranolol", "SDNN"], terms_operator="AND")


At least one of `query` or `required_terms` is required. `section_weights` and
`journal_weights` affect ranking only and are ignored when `query` is omitted.
No phrase search, no stemming.

### Context expansion

**`get_passage_context`** — Expand context around a passage from `search_papers`. For table results, pass `table_page` and `table_index` to find body text citing the table.

Parameters: `doc_id`, `chunk_index`, `window` (1-5), `table_page`, `table_index`.

### Citation graph (OpenAlex)

Requires the document to have a DOI in Zotero.

**`find_citing_papers`** — Papers that cite a given document. Parameters: `doc_id`, `limit` (1-100).

**`find_references`** — Papers a document cites. Parameters: `doc_id`, `limit` (1-100).

**`get_citation_count`** — Citation and reference counts. Parameters: `doc_id`.

### Index management

**`index_library`** — Trigger indexing from the MCP client. Parameters: `force_reindex`, `limit`, `item_key`, `title_pattern`, `no_vision`.

**`get_index_stats`** — Document/chunk/table/figure counts, section coverage, journal coverage. Counts cover the entire collection. The result is cached in `index_stats.sqlite` next to the Chroma database and refreshed at the end of every indexing run; pass `refresh: true` to force a recount.

**`get_reranking_config`** — Current reranking weights and valid override values.

**`get_vision_costs`** — Vision API batch usage and cost summary. Parameters: `last_n` (recent entries to show).

---

## Reranking

Search results are scored:```
composite_score = similarity^alpha * section_weight * journal_weight

Default section weights:

Section Weight
results 1.0
conclusion 1.0
table 0.9
methods 0.85
abstract 0.75
background 0.7
unknown 0.7
discussion 0.65
introduction 0.5
preamble 0.3
appendix 0.3
references 0.1

Default journal weights: Q1=1.0, Q2=0.85, Q3=0.65, Q4=0.45.

Override per-call via section_weights and journal_weights parameters. Set a section to 0 to exclude it. Disable reranking entirely with "rerank_enabled": false.


Shared filter parameters

Parameter Type Description
author string Case-insensitive substring match against author names
tag string Case-insensitive substring match against Zotero tags
collection string Case-insensitive substring match against collection names
year_min / year_max int Publication year range
section_weights dict Override section weights for this call
journal_weights dict Override journal quartile weights
required_terms list Exact whole-word matches required in passage (search_papers only)

Research agent skill

examples/zotero-research/SKILL.md is a ready-made Claude Code skill that wraps these
tools into a spawnable research agent — it takes a high-level research question, runs
the appropriate searches, and returns consolidated findings with citation keys. Copy it
into .claude/skills/ (or your global skills directory) to use it.


Development

Debug viewer

tools/debug_viewer.py is a PyQt6 browser for inspecting the ChromaDB index — view papers, tables (rendered markdown vs PDF), figures, and individual chunks.```bash
.venv/Scripts/python.exe tools/debug_viewer.py


### Tests```bash
.venv/Scripts/python.exe -m pytest

Tests that make real Anthropic API calls are marked vision_api and excluded by
default; run them with -m vision_api.

tests/stress_test_real_library.py is the end-to-end quality gate: it pulls 10 papers
from the live Zotero library, runs the full extraction → index → search pipeline into a
temp ChromaDB, and asserts on extraction and retrieval quality. It writes
STRESS_TEST_REPORT.md and _stress_test_debug.db.bash .venv/Scripts/python.exe tests/stress_test_real_library.py

--vision-only re-runs just the vision extraction against an existing
_stress_test_debug.db, optionally narrowed to one paper with --paper KEY.

Releasing

python tools/release.py --bump patch (or an explicit X.Y.Z) rewrites the version in pyproject.toml and plugin/.claude-plugin/plugin.json, including the pinned package the plugin launches, then commits and tags. It refuses a dirty tree, a non-main branch, and an existing tag.

Pushing the tag runs .github/workflows/publish.yml, which re-checks that tag, both manifests and the pin agree before publishing to PyPI.

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
Zotero Chunk MCP (Ccam80) 怎么安装?

在客户端按下面的安装命令接入:pip install -e .\"。装完在客户端配置里引用同一个包或端点。

Zotero Chunk MCP (Ccam80) 怎么在客户端里配置?

它的传输方式未标注,在客户端 MCP 配置里按官方文档填写启动命令和参数,保存后重启客户端生效。

Zotero Chunk MCP (Ccam80) 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Zotero Chunk MCP (Ccam80) 需要 API Key 吗?

资料标注需要OAuth 授权认证,使用前准备好对应凭据,并按最小权限配置。

Zotero Chunk MCP (Ccam80) 能提供哪些能力?

资料显示能力标签包括 搜索、文献管理、Python。具体工具清单以官方文档为准。

Zotero Chunk MCP (Ccam80) 需要什么运行环境?

运行时为 Python;属于本地进程,需要在本机装好运行环境。

Zotero Chunk MCP (Ccam80) 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。传输方式为stdio · 本地进程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。