Skip to main content

This tool supports the extraction of text, images, and other elements from various document formats.

Project description

logo mcp-polaris-ai-datainsight

Polaris AI DataInsight is an API service that easily converts documents in various formats into structured data (such as JSON).

This tool supports the extraction of text, images, and other elements from various document formats (e.g., .doc, .docx, .ppt, .pptx, .xls, .xlsx, .hwp, .hwpx).

For more details, please refer to the documentation.

Feature

Extract content from document

Extract text, images, and other elements from various document formats.

  • Images in the document are stored on local storage, and the corresponding image paths are included in the JSON output.
  • Tables are represented in JSON format, as illustrated in this example.

⚠️ It is recommended to use file_system MCP Server together with this.

file_system is required whenever your workflow needs to

  • create directories to store resources, or
  • verify existing file paths.

Below is an example configuration how to use file_system with Claude:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/directory_1",
        "/path/to/allowed/directory_2",
        "..."
      ]
    }
  }
}

Installation and Setup

  1. Generate an API key

  2. Choose an installation method

Method 1: Manual Configuration

Prerequirement: Install uv.

If you prefer a manual setup, add the following configuration to your IDE's MCP config file:

{
  "mcpServers": {
    "datainsight": {
      "command": "uvx",
      "args": ["mcp-polaris-ai-datainsight@latest"],
      "env": {
        "POLARIS_AI_DATA_INSIGHT_API_KEY": "your-api-key"
      }
    }
  }
}

Method 2: Docker Container

  1. Clone repository
    git clone --branch main https://github.com/PolarisOfficeRnD/PolarisAIDataInsight.git
    
    If you want to clone only mcp-polaris-ai-datainsight directory:
    # Git Version >= 2.25
    git clone --filter=blob:none --sparse --branch main https://github.com/PolarisOfficeRnD/PolarisAIDataInsight.git
    
    cd PolarisAIDataInsight
    
    git sparse-checkout set mcp-polaris-ai-datainsight
    
  2. Build Docker image:
    cd mcp-polaris-ai-datainsight
    
    docker build . -t mcp-polaris-ai-datainsight
    
  3. Use this MCP Server config:
    {
      "mcpServers": {
        "datainsight": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "mcp-polaris-ai-datainsight",
            "-e",
            "POLARIS_AI_DATA_INSIGHT_API_KEY=your-api-key"
          ]
        }
      }
    }
    

Method 3: Clone git repository

Preinstall uv and poetry.

  1. Clone repository (please refer to Method 4 if you want to clone only mcp-polaris-ai-datainsight directory)
  2. Install python dependencies in virtual environment
    cd mcp-polaris-ai-datainsight
    
    uv venv .venv
    
    # Linux
    source .venv/bin/activate
    # Windows
    .venv\bin\activate
    
    
    poetry install --no-root
    
  3. Set API Key as environment value and Run server
    # Linux
    export POLARIS_AI_DATA_INSIGHT_API_KEY="your-api-key"
    # Windows
    set POLARIS_AI_DATA_INSIGHT_API_KEY="your-api-key"
    
    python -m mcp_polaris_ai_datainsight.server
    

Output

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_polaris_ai_datainsight-0.0.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_polaris_ai_datainsight-0.0.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_polaris_ai_datainsight-0.0.4.tar.gz.

File metadata

  • Download URL: mcp_polaris_ai_datainsight-0.0.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.9 Windows/10

File hashes

Hashes for mcp_polaris_ai_datainsight-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6ab6189216e6f70d9baf72d56e88e4ddb36354fc0b97232de6ba5a69f5764284
MD5 fb9e3649fec917353be15639c51a3893
BLAKE2b-256 3f35a9f024446acec808cb966f44494b37588a07fb6987c063adafaeea2449bf

See more details on using hashes here.

File details

Details for the file mcp_polaris_ai_datainsight-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_polaris_ai_datainsight-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c2351c9dc574332e84f21105ec818b156b70c115ed470643cb63d69913080f9f
MD5 76383cffbd256fedb7bcf1d687be1dd1
BLAKE2b-256 b679e2bcfcacd9a12eb4ed77c109cb0191e82b5cf3fc389f06127b805e6f9e1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page