Skip to content

~/work/ai-business-data

AI that answers from company documents

Search and grounded AI answers across invoices and specifications, plus a secure server giving AI agents permission-scoped access.

The problem

The answers the team needed were buried in invoices, specifications and internal documents. Staff had no fast way to search across all of it.

What I built

Two things, both sitting on top of the company’s own data.

  • Search that understands the question. A retrieval-augmented generation (RAG) pipeline combines keyword search with vector search, so it finds documents by meaning as well as by exact wording.
  • Answers grounded in real documents. The AI answers from the company’s invoices, specifications and internal documents rather than from general knowledge.
  • A secure server for AI agents. A Model Context Protocol (MCP) server gives Claude agents access to internal business data and to approved operational workflows.
Architecture: AI search and agent access over company dataTwo flows. Company documents are indexed by keyword and by meaning, searched with hybrid search, and returned as an answer grounded in those documents. Separately, an AI agent's request passes through an MCP server's permission check before it reaches business data and approved workflows.Search and answersCompany documentsinvoices and specsIndexkeywords + vectorsHybrid searchwording + meaningGrounded answerfrom those documentsAgent accessAI agentClaudeMCP serverpermission checkBusiness dataand approved workflowsArchitecture: AI search and agent access over company dataTwo flows. Company documents are indexed by keyword and by meaning, searched with hybrid search, and returned as an answer grounded in those documents. Separately, an AI agent's request passes through an MCP server's permission check before it reaches business data and approved workflows.SearchDocumentsinvoices, specsIndexkeywords + vectorsHybrid searchwording + meaningAnswerfrom the documentsAgent accessAI agentClaudeMCP serverpermission checkBusiness dataapproved workflows

Security

Giving an AI agent access to business data is only safe with limits. Agent access is permission-scoped, so an agent sees only the data it is allowed to see, and it can run only the workflows it is authorized for.

Results

Staff can search and ask questions across company documents and get answers drawn from those documents.

AI agents can work with business data and run approved workflows inside the permissions set for them.