Upstage MCP Server
A Model Context Protocol server for parsing documents using Upstage AI's document digitization API.
PritamPatil2603
README
Upstage MCP Server
A Model Context Protocol (MCP) server for Upstage AI's document digitization and information extraction capabilities
Overview
The Upstage MCP Server provides a robust bridge between AI assistants and Upstage AI’s powerful document processing APIs. This server enables AI models—such as Claude—to effortlessly extract and structure content from various document types including PDFs, images, and Office files. The package supports multiple formats and comes with seamless integration options for Claude Desktop.
Key Features
- Document Digitization: Extract structured content from documents while preserving layout.
- Information Extraction: Retrieve specific data points using intelligent, customizable schemas.
- Multi-format Support: Handles JPEG, PNG, BMP, PDF, TIFF, HEIC, DOCX, PPTX, and XLSX.
- Claude Desktop Integration: Effortlessly connect with Claude and other MCP clients.
Prerequisites
Before using this server, ensure you have the following:
- Upstage API Key: Obtain your API key from Upstage API.
- Python 3.10+: The server requires Python version 3.10 or higher.
- The MCP server relies upon Astral UV to run, please install
Installation & Configuration
This guide provides step-by-step instructions to set up and configure the upstage-mcp-server
Using uv
(Recommended)
No additional installation is required when using uvx
as it handles execution. However, if you prefer to install the package directly:
uv pip install upstage-mcp-server
Configure Claude Desktop
For integration with Claude Desktop, add the following content to your claude_desktop_config.json
:
Configuration Location
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Using uvx Command (Recommended)
{
"mcpServers": {
"upstage-mcp-server": {
"command": "uvx",
"args": ["upstage-mcp-server"],
"env": {
"UPSTAGE_API_KEY": "<your-api-key>"
}
}
}
}
If uvx
is not available globally, you may encounter a Server disconnected
error. To resolve this, run which uvx
to find its full path, and replace "command": "uvx"
above with the returned path.
After adding the configuration, restart Claude Desktop to apply the changes.
Output Directories
Processing results are stored in your home directory under:
- Document Parsing Results:
~/.upstage-mcp-server/outputs/document_parsing/
- Information Extraction Results:
~/.upstage-mcp-server/outputs/information_extraction/
- Generated Schemas:
~/.upstage-mcp-server/outputs/information_extraction/schemas/
Local/Development Setup
Follow these steps to set up and run the project locally:
Step 1: Clone the Repository
git clone https://github.com/PritamPatil2603/upstage-mcp-server.git
cd upstage-mcp-server
Step 2: Set Up the Python Environment
# Install uv if not already installed
pip install uv
# Create and activate a virtual environment
uv venv
# Activate the virtual environment
# On Windows:
# .venv\Scripts\activate
# On macOS/Linux:
source .venv/bin/activate
# Install dependencies in editable mode
uv pip install -e .
Step 3: Configure Claude Desktop for Local Testing
-
Download Claude Desktop:
Download Claude Desktop -
Open and Edit Configuration:
- Navigate to Claude → Settings → Developer → Edit Config.
- Edit the
claude_desktop_config.json
file with the following configurations:
For Windows:
{ "mcpServers": { "upstage-mcp-server": { "command": "uv", "args": [ "run", "--directory", "C:\\path\\to\\cloned\\upstage-mcp-server", "python", "-m", "upstage_mcp.server" ], "env": { "UPSTAGE_API_KEY": "your_api_key_here" } } } }
Replace
C:\\path\\to\\cloned\\upstage-mcp-server
with your actual repository path.For macOS/Linux:
{ "mcpServers": { "upstage-mcp-server": { "command": "/Users/username/.local/bin/uv", "args": [ "run", "--directory", "/path/to/cloned/upstage-mcp-server", "python", "-m", "upstage_mcp.server" ], "env": { "UPSTAGE_API_KEY": "your_api_key_here" } } } }
Replace:
/Users/username/.local/bin/uv
with the output ofwhich uv
./path/to/cloned/upstage-mcp-server
with the absolute path to your local clone.
Tip for macOS/Linux users: If connection issues occur, using the full path to your uv executable can improve reliability.
After configuring, restart Claude Desktop.
Available Tools
The server exposes two primary tools for AI models:
-
Document Parsing (
parse_document
):- Description: Processes documents and extracts content while preserving structure.
- Parameter:
file_path
– the path to the document to be processed. - Example Query:
"Can you parse the document atC:\Users\username\Documents\contract.pdf
and provide a summary?"
-
Information Extraction (
extract_information
):- Description: Extracts structured information from documents based on predefined or auto-generated schemas.
- Parameters:
file_path
– the document file path;
schema_path
(optional) – a JSON file with an extraction schema;
auto_generate_schema
(default true) – whether to auto-generate a schema. - Example Query:
"Extract the invoice number, date, and total fromC:\Users\username\Documents\invoice.pdf
."
Below is the revised troubleshooting section formatted as requested. You can copy and paste the following Markdown directly into your README:
Troubleshooting
Common Issues
-
API Key Missing:
Ensure that your UPSTAGE_API_KEY is correctly set in yourclaude_desktop_config.json
file. Obtain a valid API key from Upstage Console. -
File Not Found:
Double-check the file path for correctness and accessibility. Ensure that file paths are absolute (e.g.,C:\Users\name\Documents\file.pdf
) and that any special characters in the path are properly escaped. -
Server Not Starting:
Verify that your virtual environment is activated and all dependencies are installed. Additionally, review the Claude Desktop log files for errors:- Windows:
%APPDATA%\Claude\logs\mcp-server-upstage-mcp-server.log
- macOS:
~/Library/Logs/Claude/mcp-server-upstage-mcp-server.log
- Windows:
-
Server Connection Issues:
Restart Claude Desktop. Ensure thatuvx
is installed and available in your system PATH, or use its absolute path in your configuration if needed. -
Processing Failures:
Check that the document is in a supported format (PDF, JPEG, PNG, TIFF, etc.), its file size is under 50MB, and it contains fewer than 100 pages. Test with a simpler document to confirm functionality. -
Invalid Document Format:
Verify that the document is in a supported, uncorrupted format. -
Failed to Connect to Upstage API:
Confirm your network connection, firewall settings, and configuration details inclaude_desktop_config.json
. Review the logs for more detailed error messages.
Log Files
For troubleshooting, view the server logs at:
- Windows:
%APPDATA%\Claude\logs\mcp-server-upstage-mcp-server.log
- macOS:
~/Library/Logs/Claude/mcp-server-upstage-mcp-server.log
Contributing
Contributions are welcome! If you wish to enhance the project or add new features, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.