sifter-mcp

v1.0.1
sifter-mcp Checked 1 day ago Published 5 months ago

MCP server for Sifter — read-only access to extracted records for Claude Desktop, Cursor, and AI agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_sifts

List sifts with their name, instructions, and document/record counts. Args: limit: Maximum number of sifts to return (default 50, max 200) offset: Number of sifts to skip for pagination

ParameterTypeDescription
limitinteger
offsetinteger

get_sift

Get sift metadata and inferred extraction schema for a specific sift.

ParameterTypeDescription
sift_id *string

list_records

Get extracted records from a sift. Args: sift_id: The sift identifier limit: Maximum number of records to return (default 20, max 100) offset: Number of records to skip (ignored when cursor is provided) cursor: Opaque pagination cursor from a previous call's next_cursor field

ParameterTypeDescription
sift_id *string
cursorstring
limitinteger
offsetinteger

query_sift

Run a natural language query over a sift's extracted records. Args: sift_id: The sift identifier natural_language: The question to answer (e.g. "What is the total by client?")

ParameterTypeDescription
natural_language *string
sift_id *string

list_folders

List folders with their name and document count. Args: limit: Maximum number of folders to return (default 100, max 200) offset: Number of folders to skip for pagination

ParameterTypeDescription
limitinteger
offsetinteger

get_folder

Get folder metadata, linked sifts, and document list for a specific folder. Args: folder_path: Folder path (e.g. '/invoices/2025')

ParameterTypeDescription
folder_path *string

get_record_citations

Get per-field citation map for a record (page, bbox, source text for each field). Args: sift_id: The sift identifier record_id: The record identifier

ParameterTypeDescription
record_id *string
sift_id *string

create_sift

Create a new sift with the given extraction instructions. Args: name: Human-readable sift name instructions: Natural language extraction instructions (e.g. "client, date, total") folder_path: Optional folder path to link (e.g. '/invoices/2025'); created if it doesn't exist

ParameterTypeDescription
instructions *string
name *string
folder_pathstring

update_sift

Update an existing sift's name or instructions. Args: sift_id: The sift identifier name: New name (leave empty to keep current) instructions: New instructions (leave empty to keep current)

ParameterTypeDescription
sift_id *string
instructionsstring
namestring

delete_sift

Delete a sift and all its records. Args: sift_id: The sift identifier

ParameterTypeDescription
sift_id *string

upload_document

Upload a document to a folder. The folder is created if it doesn't exist. The document will be processed by all sifts linked to the folder. Args: folder_path: Target folder path (e.g. '/invoices/2025'). Created if it doesn't exist. filename: Original filename (used for display) content_base64: Base64-encoded file bytes

ParameterTypeDescription
content_base64 *string
filename *string
folder_path *string

run_extraction

Enqueue extraction for a document on a specific sift. Args: document_id: The document identifier sift_id: The sift to extract with

ParameterTypeDescription
document_id *string
sift_id *string

get_extraction_status

Check extraction status for a document on a sift. Args: document_id: The document identifier sift_id: The sift identifier Returns: {"status": "queued|running|completed|failed", "error": "..." (on failure)}

ParameterTypeDescription
document_id *string
sift_id *string

find_records

Filter records with structured criteria (no LLM roundtrip). Args: sift_id: The sift identifier filter: Mongo-subset filter dict e.g. {"total": {"$gt": 1000}} sort: Optional sort spec e.g. [["date", -1]] limit: Max records to return (default 50) cursor: Opaque pagination cursor from a previous call Returns: {"records": [...], "next_cursor": "..." | null}

ParameterTypeDescription
filter *object
sift_id *string
cursorstring
limitinteger
sortarray

aggregate_sift

Run a MongoDB aggregation pipeline against a sift's records. Args: sift_id: The sift identifier pipeline: MongoDB aggregation pipeline stages e.g. [{"$group": {"_id": "$client", "total": {"$sum": "$total"}}}] Returns: Array of aggregated rows

ParameterTypeDescription
pipeline *array
sift_id *string