Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.7.0
metadata
title: Invoice RAG with MCP
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.33.1
app_file: app.py
tags:
- Agents-MCP-Hackathon
- mcp-server-track
pinned: false
license: mit
π Invoice RAG System with MCP Integration
An intelligent system for processing and querying invoice data using RAG (Retrieval Augmented Generation) with MCP (Model Context Protocol) support.
DEMO
π Features
- PDF Invoice Processing: Extract and analyze invoice data
- RAG System: Intelligent document retrieval and question answering
- Multiple LLM Support: Groq integration with various models
- MCP Integration: Expose tools via Model Context Protocol
- Interactive UI: Clean Gradio interface
π§ Setup
- Set API Keys: Add your
GROQ_API_KEYin the Space settings - Upload Invoices: Use the training tab to process your PDFs
- Query Data: Ask questions about your invoices
- MCP Tools: Access structured data extraction tools
π Usage
- Train: Upload invoice PDFs to train the RAG system
- Query: Ask natural language questions about your invoices
- Extract: Use MCP tools for structured data extraction
π Required Environment Variables
GROQ_API_KEY: Your Groq API key for LLM access
π οΈ MCP Integration
The system exposes these MCP tools:
query_invoice_info: Extract information from invoicesget_invoice_summary: Get summary of processed invoicesextract_specific_field: Extract specific fieldslist_available_invoices: List available invoice sources