About Docstrange
Docstrange is an MCP server published by NanoNets in the Content category: extract and convert data from any document, images, pdfs, word doc, ppt or URL into multiple formats (Markdown, JSON, CSV, HTML) with intelligent structured data extraction and advanced OCR. Conduid read 11 tools from its source: get_chunk_content, get_document_info, get_full_content, get_headers, get_hierarchical_structure, get_section and 5 more. It is published to PyPI as docstrange and runs with uvx.
The repository has 1.6K stars and 138 forks, is licensed MIT, and its last commit was on 31 Oct 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include image-to-markdown, markdown, pdf-parser, content, document-parsing and ocr.
Install
uvx docstrangepip install docstrangegit clone https://github.com/NanoNets/docstrangeTools (11)
get_chunk_contentGet the content of a specific chunk by index| Parameter | Type | Description |
|---|---|---|
| chunk_index * | integer | Index of the chunk to retrieve |
| file_path * | string | Path to the previously parsed PDF file |
| max_tokens | integer | Maximum tokens per chunk (must match what was used in get_section_chunks) |
get_document_infoGet document metadata including token count, section structure, and recommendations for processing| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
get_full_contentGet the full markdown content of the document| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
get_headersGet all headers/sections from a parsed document| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
| max_level | integer | Maximum header level to include (1-6) |
get_hierarchical_structureGet the hierarchical tree structure of document sections| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
get_sectionGet the content of a specific section by title| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
| section_title * | string | Title of the section to retrieve |
get_section_chunksGet document divided into chunks that fit within a token limit| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
| max_tokens | integer | Maximum tokens per chunk |
get_section_summariesGet summaries of all sections in the document| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the previously parsed PDF file |
| max_length | integer | Maximum length of each summary |
list_cached_documentsList all documents currently cached in memoryparse_pdfParse a PDF file and load it into memory for navigation| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the PDF file to parse |
search_documentSearch for keywords or phrases in the document| Parameter | Type | Description |
|---|---|---|
| case_sensitive | boolean | Whether search should be case sensitive |
| file_path * | string | Path to the previously parsed PDF file |
| query * | string | Search query (keyword or phrase) |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 35 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiomcp_server_module/server.py:23
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 10 callsdocstrange/pipeline/model_downloader.py:261, docstrange/processors/cloud_processor.py:77, docstrange/processors/url_processor.py:120
- Writes or deletes files
- 11 callsdocstrange/cli.py:531, docstrange/pipeline/model_downloader.py:291, docstrange/processors/gpu_processor.py:422
- Lockfile
- None in the repository
Pattern matches on the source text of 35 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 3.2K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README