document-to-mxcp

Ingest Excel and Word documents into MXCP servers with dbt or Python scripts.

2|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/raw-labs/raw-labs-claude-marketplace --skill document-to-mxcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-to-mxcp
Source: https://github.com/raw-labs/raw-labs-claude-marketplace/tree/main/skills/document-to-mxcp
Command: npx skills add https://github.com/raw-labs/raw-labs-claude-marketplace --skill document-to-mxcp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ingests documents into MXCP servers and prepares data for both structured queries and semantic search, enabling scalable data integration and retrieval.

Core Features & Use Cases

  • Ingest Excel (.xlsx, .xls, .csv) and Word (.docx) documents into MXCP projects.
  • Analyze content to decide whether to generate DuckDB-backed models for tabular data or RAG-text pipelines for narrative content, including converting tabular data to narrative form when needed.
  • Produce reproducible pipelines: dbt models and Python scripts that can be re-run from scratch to reproduce results.
  • Use Case: Ingest a quarterly report into an MXCP server and query totals or retrieve descriptive context.

Quick Start

Use the document-to-mxcp skill to ingest a document located at ./source_data/sample.docx into an MXCP project. The skill will analyze the file, generate the necessary DB and/or RAG components, and provide instructions to validate results.

Frequently Asked Questions about document-to-mxcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ingest Excel and Word documents into an MXCP server for structured queries and semantic search?

To ingest documents into an MXCP server, this skill analyzes Excel and Word files to automatically generate DuckDB-backed models for tabular data or RAG-text pipelines for narrative content, producing reproducible dbt or Python scripts for both queryable databases and semantic search.

What is the best way to convert tabular data from Excel into a RAG pipeline for document retrieval?

The best way to convert tabular data for RAG pipelines is to analyze the Excel content and convert it into narrative form, allowing the generation of reproducible RAG-text pipelines that prepare the data for semantic search and retrieval within an MXCP project.

Does ingesting documents into MXCP require dbt and DuckDB for pipeline generation?

Ingesting documents into MXCP uses DuckDB for structured database models and dbt for reproducible pipeline scripts, deciding automatically between generating DuckDB databases or RAG pipelines based on whether the input content is tabular or narrative.

Can I use Python scripts with pandas and python-docx to automate document ingestion for MXCP projects?

Yes, you can use Python scripts to automate document ingestion for MXCP projects, relying on standard packages like pandas, python-docx, openpyxl, and duckdb to analyze content and generate reproducible extraction pipelines.

Do I need the mxcp-expert skill to set up my MXCP project before ingesting documents?

Yes, you need the mxcp-expert skill for project setup, as the document ingestion process depends on it to establish the MXCP server environment before generating the necessary database or RAG components.

When should I use a DuckDB database model versus a RAG pipeline for my Word document?

You should use a DuckDB database model for tabular content and a RAG pipeline for narrative content, with the ingestion process automatically analyzing the Word document to decide the appropriate extraction path and generating the corresponding dbt or Python scripts.