Unified document MCP — read, write, search, annotate any structured document
Project description
Precis
Unified document MCP — read, write, search, and annotate any structured document.
Four tools
search(query, top_k?, scope?)
get(id, grep?, depth?)
put(id, text?, mode?, tracked?, note?, link?)
move(id, after)
URI grammar
scheme:path[~selector][/view[/subview]]
Schemes
file:— on-disk files, extension determines handler (.docx,.tex,.md,.txt)paper:— acatome paper store (pre-ingested PDFs)todo:— task management with state machine
Examples
read('paper:') # list all papers
read('paper:miller2023foo') # overview + abstract
read('paper:miller2023foo/toc') # structure
read('paper:miller2023foo~38') # chunk 38
read('paper:miller2023foo/cite/bib') # BibTeX citation
read('file:planning.docx') # table of contents
read('file:planning.docx~KR8M2') # node by slug
put('file:planning.docx~KR8M2', text='Revised text.', mode='replace')
Output markers
= verbatim (safe to quote)
~ derived (keywords/summary — not quotable)
% annotation (user note/comment)
Installation
pip install precis-mcp # core + markdown + plaintext + latex
pip install precis-mcp[word] # + DOCX support
pip install precis-mcp[paper] # + paper store support
pip install precis-mcp[all] # everything
Plugin system
Register new schemes or file types via entry points:
[project.entry-points."precis.schemes"]
chem = "my_plugin:ChemHandler"
[project.entry-points."precis.file_types"]
".sdf" = "my_plugin:SDFParser"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file precis_mcp-3.0.0.tar.gz.
File metadata
- Download URL: precis_mcp-3.0.0.tar.gz
- Upload date:
- Size: 72.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a36d29180879efa09212bcd94df07dfaa2e4244d96752e51848eb40b629fbc8
|
|
| MD5 |
2b951f636280bec5288afefad984651d
|
|
| BLAKE2b-256 |
33115b5cf33551f89559a835f112c5f5f4e88cb9d45422c25dd624cbc721b979
|
Provenance
The following attestation bundles were made for precis_mcp-3.0.0.tar.gz:
Publisher:
publish.yml on retospect/precis-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
precis_mcp-3.0.0.tar.gz -
Subject digest:
6a36d29180879efa09212bcd94df07dfaa2e4244d96752e51848eb40b629fbc8 - Sigstore transparency entry: 1208426832
- Sigstore integration time:
-
Permalink:
retospect/precis-mcp@2c28048cbeacd89adbf6675722bce681c5ccc341 -
Branch / Tag:
refs/tags/v3.0.0 - Owner: https://github.com/retospect
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2c28048cbeacd89adbf6675722bce681c5ccc341 -
Trigger Event:
release
-
Statement type:
File details
Details for the file precis_mcp-3.0.0-py3-none-any.whl.
File metadata
- Download URL: precis_mcp-3.0.0-py3-none-any.whl
- Upload date:
- Size: 63.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb5c44478f3078d74a04dab901b7d0c0bbdc6ac4a7b91535d0adaa80aaa41fd
|
|
| MD5 |
ef045e1bbe1ffc486c1fa813db985abf
|
|
| BLAKE2b-256 |
71dc7f398a591fe653dd550037c5916b3489cd4dd1f581cfe75c509c33c9cce8
|
Provenance
The following attestation bundles were made for precis_mcp-3.0.0-py3-none-any.whl:
Publisher:
publish.yml on retospect/precis-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
precis_mcp-3.0.0-py3-none-any.whl -
Subject digest:
ceb5c44478f3078d74a04dab901b7d0c0bbdc6ac4a7b91535d0adaa80aaa41fd - Sigstore transparency entry: 1208426916
- Sigstore integration time:
-
Permalink:
retospect/precis-mcp@2c28048cbeacd89adbf6675722bce681c5ccc341 -
Branch / Tag:
refs/tags/v3.0.0 - Owner: https://github.com/retospect
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2c28048cbeacd89adbf6675722bce681c5ccc341 -
Trigger Event:
release
-
Statement type: