MCPcopy Create free account

hub / github.com/54yyyu/zotero-mcp / types & classes

Types & classes343 in github.com/54yyyu/zotero-mcp

↓ 191 callersClassDummyContext
No-op MCP context for unit tests.
tests/conftest.py:13
↓ 58 callersClassFakeZoteroForUpdate
Extends FakeZotero with update-specific behaviour.
tests/test_update_item.py:161
↓ 29 callersClassFakeZotero
Minimal pyzotero client stub. Extend per test file as needed.
tests/conftest.py:26
↓ 25 callersClassFakeZoteroForFile
FakeZotero extended with attachment_both stub.
tests/test_add_from_file.py:16
↓ 22 callersClass_FakeResponse
Minimal httpx.Response stub.
tests/conftest.py:155
↓ 20 callersClassFakeChromaClient
Minimal ChromaClient stand-in that records operations for assertions.
tests/test_fulltext_web_mode.py:23
↓ 20 callersClassFakeZoteroClient
pyzotero client double with scripted responses.
tests/test_fulltext_web_mode.py:63
↓ 19 callersClass_FakeHTTPResponse
Minimal requests.Response stand-in.
tests/test_pdf_cascade.py:24
↓ 18 callersClassFakePage
tests/test_read_pdf.py:16
↓ 17 callersClassFakeFitzDocument
Stub for a fitz (PyMuPDF) Document object. Supports the interface used by server.add_from_file: - doc.metadata - doc.page_count - doc
tests/test_add_from_file.py:28
↓ 16 callersClassFakeZoteroForDuplicates
Extended stub that tracks write operations for merge testing.
tests/test_duplicates.py:40
↓ 14 callersClassDummyContext
tests/test_server_notes_and_tags.py:4
↓ 13 callersClassFakeResponse
tests/test_discovery.py:15
↓ 13 callersClassLocalZoteroReader
Direct SQLite reader for Zotero's local database. Provides fast access to item metadata and fulltext for semantic search without going t
src/zotero_mcp/local_db.py:95
↓ 12 callersClass_CollectionFakeZotero
FakeZotero with collection() lookups, trash fetch, and addto support.
tests/test_trashed_collections.py:34
↓ 11 callersClassDummyContext
tests/test_server_annotation_crud.py:7
↓ 11 callersClass_FakeResponse
tests/test_add_by_isbn.py:69
↓ 10 callersClassFakeZoteroForRelations
Extends FakeZotero with relation-specific behaviour.
tests/test_item_related.py:32
↓ 9 callersClass_AttachZotero
FakeZotero extended with attachment_both tracking.
tests/test_pdf_cascade.py:45
↓ 8 callersClassDummyContext
tests/test_batch_update_extra.py:11
↓ 8 callersClassZoteroBetterBibTexAPI
Class to interact with Zotero's local Better BibTeX JSON-RPC API
src/zotero_mcp/better_bibtex_client.py:35
↓ 8 callersClass_FakeZoteroForDelete
tests/test_delete_item.py:32
↓ 7 callersClassFakeVersionsZotero
pyzotero stub exposing item_versions / last_modified_version.
tests/test_fulltext_sync_watermark.py:61
↓ 7 callersClassFakeZoteroForAnnotationUpdate
tests/test_server_annotation_crud.py:18
↓ 7 callersClass_RecordingZotero
FakeZotero that records addto_collection calls and lets the test decide whether pyzotero's atomic filing 'worked' on create_items.
tests/test_collections_backstop.py:36
↓ 6 callersClassDummyContext
tests/test_server_get_annotations.py:8
↓ 6 callersClassFakeZoteroCollections
FakeZotero with tracking for collection write operations.
tests/test_collections.py:21
↓ 6 callersClassFakeZoteroForAnnotations
Fake Zotero client that models the real parent/child hierarchy. Papers contain notes and attachments; annotations live under attachments, not
tests/test_server_get_annotations.py:19
↓ 6 callersClass_FakeClient
tests/test_group_library_url.py:18
↓ 6 callersClass_Reader
LocalZoteroReader stub: no DB, attachments / storage dir injected.
tests/test_zotero_ft_cache.py:28
↓ 6 callersClass_RecordingPutSession
Captures PUT calls and returns a configurable response.
tests/test_webdav.py:125
↓ 5 callersClassCLIContext
Drop-in replacement for fastmcp.Context that writes to stderr.
src/zotero_mcp/cli_standalone.py:36
↓ 5 callersClassEPUBCFIStep
Represents a single step in a CFI path. In CFI notation: - Elements are even numbers: (index + 1) * 2 - Text nodes are odd numbers:
src/zotero_mcp/epub_utils.py:36
↓ 5 callersClassOllamaEmbeddingFunction
Custom Ollama embedding function for ChromaDB. Uses Ollama's local HTTP API. Registered under the name ``ollama`` so ChromaDB can rebuild per
src/zotero_mcp/chroma_client.py:370
↓ 5 callersClass_CitekeyFakeZotero
FakeZotero with add_parameters support for citation-key tests.
tests/test_search_by_citation_key.py:63
↓ 4 callersClassEPUBCFISegment
A segment of a CFI path, consisting of steps and an optional terminal offset.
src/zotero_mcp/epub_utils.py:62
↓ 4 callersClassFakeLocalZoteroReader
Subclass that skips DB init and allows injecting fake attachment text.
tests/test_local_db.py:6
↓ 4 callersClassFakeZoteroForAnnotationDelete
tests/test_server_annotation_crud.py:187
↓ 4 callersClassFakeZoteroForDeleteNote
tests/test_server_notes_and_tags.py:334
↓ 4 callersClassFakeZoteroForNoteUpdate
tests/test_server_notes_and_tags.py:154
↓ 4 callersClassHuggingFaceEmbeddingFunction
Custom HuggingFace embedding function for ChromaDB using sentence-transformers. Registered under the name "huggingface" so ChromaDB rebuilds it (
src/zotero_mcp/chroma_client.py:311
↓ 4 callersClassZoteroItem
Represents a Zotero item with text content for semantic search.
src/zotero_mcp/local_db.py:45
↓ 4 callersClass_BibZotero
FakeZotero honoring a content= kwarg for CSL/bibtex rendering.
tests/test_synthesis.py:106
↓ 4 callersClass_SearchableFake
Minimal pyzotero stub with the methods search_items needs.
tests/test_tag_filter_normalization.py:75
↓ 3 callersClassAttachmentDownloadResult
Result of downloading an attachment from one of the supported sources.
src/zotero_mcp/client.py:142
↓ 3 callersClassChunkingFakeChroma
Chroma stub that records upserts and supports chunk bookkeeping.
tests/test_passage_chunking.py:120
↓ 3 callersClassFakeChromaClient
tests/test_openai_batch.py:137
↓ 3 callersClassFakeChromaClient
Minimal ChromaClient stub for unit tests.
tests/test_semantic_search_quality.py:29
↓ 3 callersClassFakeChromaClient
tests/test_fulltext_local_mode.py:16
↓ 3 callersClass_FakeChromaClient
tests/test_reranker_cache.py:32
↓ 3 callersClass_FakeResponse
Minimal httpx.Response stub.
tests/test_collections.py:57
↓ 3 callersClass_Reader
LocalZoteroReader stub with no DB and configurable attachments.
tests/test_fulltext_non_pdf_html.py:18
↓ 2 callersClassAttachmentDetails
Details about a Zotero attachment.
src/zotero_mcp/client.py:132
↓ 2 callersClassBoom
tests/test_collection_resolver.py:167
↓ 2 callersClassCFITextParser
HTML parser that extracts text while tracking precise positions for CFI generation. This parser: - Tracks element indices among element
src/zotero_mcp/epub_utils.py:210
↓ 2 callersClassDummyContext
tests/test_server_advanced_search.py:4
↓ 2 callersClassDummyContext
tests/test_metadata_formats.py:8
↓ 2 callersClassFailingChromaClient
Fakes a ChromaDB client whose upsert raises a transient error. Exercises the deferred-retry path in _process_item_batch.
tests/test_semantic_stats.py:62
↓ 2 callersClassFakeChromaClient
tests/test_semantic_stats.py:14
↓ 2 callersClassFakeZotero
tests/test_server_advanced_search.py:15
↓ 2 callersClassFakeZoteroForGetNotes
tests/test_server_notes_and_tags.py:183
↓ 2 callersClassFakeZoteroForMetadata
tests/test_metadata_formats.py:19
↓ 2 callersClassFakeZoteroForNotes
Fake Zotero client that returns different items based on itemType parameter.
tests/test_server_notes_and_tags.py:15
↓ 2 callersClassGeminiEmbeddingFunction
Custom Gemini embedding function for ChromaDB using google-genai. Registered under the name "gemini" so ChromaDB can rebuild it from a persis
src/zotero_mcp/chroma_client.py:157
↓ 2 callersClassOpenAIEmbeddingFunction
Custom OpenAI embedding function for ChromaDB. Registered under the name "openai" so ChromaDB rebuilds it (rather than its own incompatible b
src/zotero_mcp/chroma_client.py:31
↓ 2 callersClassRecordingChromaClient
tests/test_openai_batch.py:215
↓ 2 callersClassSearchZotero
tests/test_token_optimization.py:277
↓ 2 callersClassSimpleZotero
tests/test_token_optimization.py:230
↓ 2 callersClassWebDAVNotConfiguredError
Raised when WebDAV environment variables are missing.
src/zotero_mcp/webdav.py:19
↓ 2 callersClassZoteroSemanticSearch
Semantic search interface for Zotero libraries using ChromaDB.
src/zotero_mcp/semantic_search.py:403
↓ 2 callersClass_BareReader
LocalZoteroReader stub that skips DB init.
tests/test_pdf_subprocess_utf8.py:18
↓ 2 callersClass_FailingZotero
tests/test_webdav.py:10
↓ 2 callersClass_FakeResponse
tests/test_webdav.py:15
↓ 2 callersClass_FakeResponse
tests/test_ollama_embedding.py:24
↓ 2 callersClass_FakeSession
tests/test_webdav.py:29
↓ 2 callersClass_PersistedFakeEF
A registered EF whose persisted name is *not* ``"default"``. This recreates the embedding-function conflict that a real populated collection
tests/test_search_database_status.py:52
↓ 2 callersClass_ZotItemStub
tests/test_passage_chunking.py:224
↓ 1 callersClassBatchZotero
tests/test_token_optimization.py:202
↓ 1 callersClassBoom
tests/test_trashed_collections.py:89
↓ 1 callersClassBoom
tests/test_idempotent_adds.py:166
↓ 1 callersClassChromaClient
ChromaDB client for Zotero semantic search.
src/zotero_mcp/chroma_client.py:443
↓ 1 callersClassCollectionFakeZotero
Stub that returns parents + children from collection_items.
tests/test_token_optimization.py:64
↓ 1 callersClassCrashingAnnotationZot
tests/test_server_notes_and_tags.py:136
↓ 1 callersClassCrossEncoderReranker
Optional cross-encoder re-ranker for semantic search results.
src/zotero_mcp/semantic_search.py:348
↓ 1 callersClassDummyContext
tests/test_server_create_note.py:4
↓ 1 callersClassDummyContext
tests/test_group_library_url.py:65
↓ 1 callersClassDummyContext
tests/test_feed_retrieval.py:1
↓ 1 callersClassEPUBCFI
Complete EPUB CFI representation. Format: epubcfi(/6/<spine>!<path>,<start>,<end>) For ranges: - base: /6/<spine_index> (spine refe
src/zotero_mcp/epub_utils.py:84
↓ 1 callersClassEmptyZotero
tests/test_token_optimization.py:341
↓ 1 callersClassErrorZotero
tests/test_token_optimization.py:370
↓ 1 callersClassFailingZotero
tests/test_update_item.py:600
↓ 1 callersClassFakeBatches
tests/test_openai_batch.py:90
↓ 1 callersClassFakeChroma
ChromaClient stub for update_database runs with no items.
tests/test_fulltext_sync_watermark.py:78
↓ 1 callersClassFakeCollection
tests/test_openai_batch.py:285
↓ 1 callersClassFakeDoc
tests/test_regression_bugs.py:204
↓ 1 callersClassFakeDocument
Simulates a fitz.Document with a get_toc() method.
tests/test_pdf_outline.py:16
↓ 1 callersClassFakeDocument
tests/test_read_pdf.py:24
↓ 1 callersClassFakeDocument
Minimal fitz document stub for page geometry lookups.
tests/test_area_annotations.py:24
↓ 1 callersClassFakeFiles
tests/test_openai_batch.py:84
↓ 1 callersClassFakeFitzPage
Stub for a fitz Page object.
tests/test_add_from_file.py:72
next →1–100 of 343, ranked by callers