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.5.tar.gz (3.9 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.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_polaris_ai_datainsight-0.0.5.tar.gz
Algorithm Hash digest
SHA256 59e5f789b8b9f7e082b29633aa5cb6a8cf0dcf9b20893d97c54ad1d3884d16a6
MD5 935823ab08e54937aec4b357e85087c3
BLAKE2b-256 967e59bcd5ae6829e149aa581886a8467efc1864709787e1f646406e605d208d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_polaris_ai_datainsight-0.0.5.tar.gz:

Publisher: python-publish-mcp.yml on PolarisOfficeRnD/PolarisAIDataInsight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for mcp_polaris_ai_datainsight-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9db3b01122c6d188f879aea2058ab2b998e111d39894b247b4a9a02898757e93
MD5 d48918009a25434a375a498d26e5c442
BLAKE2b-256 ecf7bdf21752e98351a42959eb312e677368d31f3ef9024e4da4adcabc72b14f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_polaris_ai_datainsight-0.0.5-py3-none-any.whl:

Publisher: python-publish-mcp.yml on PolarisOfficeRnD/PolarisAIDataInsight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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