GroupDocs.Viewer reaches Python code in three ways. They share the rendering engine but differ in where the documents are processed and who writes the code. This page helps you pick one.
At a glance
GroupDocs.Viewer for Python via .NET (SDK)
GroupDocs.Viewer Cloud
GroupDocs.Viewer MCP server
What it is
A Python package (pip install groupdocs-viewer-net)
A hosted REST API with a Python SDK
A Model Context Protocol server with rendering tools
Who calls it
Your Python code
Your code, over HTTPS
An AI agent (Claude, Cursor, GitHub Copilot and other MCP clients)
Where documents go
Stay on your machine or server
Uploaded to GroupDocs Cloud storage
Stay on the machine that runs the server
Internet access
Not needed
Required
Not needed once installed
What you can do
The whole API: HTML, PDF, PNG and JPEG output, per-format options, page selection, watermarks, attachments, document info, rendering to memory, cancellation, and a browser viewer (groupdocs-viewer)
Rendering and document info through REST endpoints
Render one page as a PNG image (render_page), read the page count and sizes (get_view_info), check the license (get_license_status)
Runs on
Windows x64, Linux x64, macOS 12+ (Intel and Apple Silicon); Python 3.5 - 3.14
Any platform that can make HTTPS calls
.NET tool (dnx GroupDocs.Viewer.Mcp), or its Docker image
Licensing
GroupDocs.Viewer license (evaluation mode without one)
GroupDocs Cloud subscription
GroupDocs.Viewer license
Choose the SDK when
Documents must not leave your environment (compliance, air-gapped systems, on-premise deployments).
You need the whole API: every output format and option, page selection, attachments, and rendering into your own storage.
SDK + documentation MCP server: when an AI coding assistant writes Python code against this package, connect it to the documentation MCP server and let it read the AGENTS.md shipped inside the package. See Agents and LLM Integration.
SDK in production, MCP server for prototyping: let an agent look at the documents through the MCP server, then implement the rendering you need with the SDK.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.