Overview

Server and Client Component Architecture

Client

Prima Chemicals

location

Location

India

Industry

Industry

Manufacturing (dyes and specialty chemicals)

Microservices

Services

AI/ML Development, Enterprise Integration, Custom Software

The Challenge

Prima Chemicals runs three manufacturing units on ZipERP, a SQL Server-based ERP that holds everything: sales, production, inventory, quality control, procurement, collections, and batch traceability.

The data was all there. Getting at it was the problem.

For every management question like which customers have gone quiet, what was last month’s yield variance, which invoices are outstanding beyond ninety days, or trace this finished batch back to its raw material, someone had to hand-pull the data, join it across tables, and format a report. A single question could take one to two days of analyst time.

The real cost wasn’t the delay. It was the questions that never got asked. When every enquiry carries a two-day price tag, management stops enquiring. Decisions get made on instinct and month-old spreadsheets instead of what the system actually knows.

Prima had experimented with an AI assistant on an earlier model stack, but wanted a platform that could handle the full breadth of their ERP reliably enough to trust in daily operations.

What We Built

TOPS Infosolutions designed and delivered Prima Chemicals AI end-to-end, built on Anthropic’s Claude.

A governed layer over the ERP

Rather than connecting an AI model directly to a production database, we built an MCP server exposing 43 read-only, schema-validated tools spanning sales, purchase, production, QC, inventory, CRM, and finance. Every request the AI makes passes through that single audited boundary. Nothing touches the ERP outside it, and nothing can write to it.

Management asks a question in plain English. Claude works out which tools to call, retrieves the data, and returns a written answer with charts and tables formatted in Indian-rupee conventions.

Smart Workflows: reports that build themselves

Ad-hoc answers solve half the problem. The other half is the recurring reports someone has to assemble by hand on a schedule.

With Smart Workflows, a user describes the report they want in plain English. Claude generates a deterministic tool-call script. The user reviews and approves it. From then on, it runs automatically on a schedule.

29 recurring management reports now run this way, daily, twice-monthly, and monthly, each of which previously had to be built by hand from the ERP.

programmer-night
adult-woman-planning-scrum-method

Two execution modes, because not every report is the same

Some reports are pure retrieval. Others need judgement. We built both paths:

SCRIPT: fully deterministic. Retrieve and render, with no model call at runtime. Routine reporting stays fast, cheap, and identical every time.

HYBRID: the numbers are deterministic, but reading them isn’t. Flagging at-risk accounts, summarising a week’s trend, suggesting reorder quantities. Here the tool calls replay deterministically, but Claude is invoked on every run to interpret that run’s fresh data and write the commentary. A judgement made once at design time would be stale by the second run.

Direct access from Claude

The same MCP server is exposed to claude.ai over OAuth 2.0, so Prima’s team can reach the identical governed toolset from Claude directly: same permissions, same audit boundary, no separate integration.

Results

  • 1–2 days → minutes. Ad-hoc management reports that previously required an analyst are now answered conversationally.
  • 29 recurring reports automated, replacing manual assembly across daily, twice-monthly, and monthly cycles.
  • 43 production tools live across sales, purchase, production, QC, inventory, CRM, and finance.
  • Three manufacturing units covered from a single interface.
  • Delivered in approximately 4.5 months by a small TOPS team, built with Claude Code.

In the Client's Words

“We had all the data in our ERP but no fast way to ask it anything. With the Claude-based assistant TOPS built, I can ask a question in plain language and get the answer with a chart in minutes, and the reports I used to chase people for now arrive on their own.”

Apurva Modi, CEO, Prima Chemicals

Tech stack

claude
claude-opus-5
claude
claude-sonnet-5
MCP
Custom remote MCP server
erp
43 read-only ERP tools
Oauth
OAuth 2.0 / PKCE
LangChain
LangChain
LangChain
LangGraph
MySQL
SQL Server
ZipERP
ZipERP
claude
Claude Code

Have an ERP full of answers nobody can reach?

We build governed AI layers over enterprise systems — with the audit boundaries, deterministic execution, and human approval steps that production actually requires.

Get in Touch

Our Offices

USA
5002 Spring Crest Terrace, Fremont, CA 94536, USA
USA : +1 408-400-3737
India
G Block, Mondeal Retail Park, Near Iscon Mega Mall, Sarkhej-Gandhinagar Highway, Ahmedabad, Gujarat – 380054
India : +91-7575000269