Back to Home

AI Assistant

A conversational compliance agent backed by all 12 ComplianceGrid API verticals. Ask questions in plain English and get instant answers from real government data. Just use your ComplianceGrid API key.

23 compliance toolsLive government dataMCP server included

What can it do?

The AI assistant automatically determines which ComplianceGrid APIs to query based on your question. It can chain multiple tools to answer complex compliance questions — all billed through your CG key.

Restricted Party Screening

Screen individuals and companies against OFAC, BIS, and 12+ federal watchlists instantly.

Multi-Vertical Lookups

Query DEA, FDA, SEC, FDIC, FINRA, FAA, FMCSA, SAM.gov, OIG, FCC, and more from one chat.

23 API Tools

The AI agent has access to 23 compliance tools spanning all 12 regulatory verticals.

Real Government Data

Pulls live data from trade.gov, SEC EDGAR, FDIC, openFDA, and FCC — not simulated.

Uses Your ComplianceGrid API Key

Pass your sandbox (cg_sk_...) or production (cg_pk_...) key via a Bearer token in the Authorization header. The LLM is hosted by ComplianceGrid — no separate AI key needed.

Try It Live

ComplianceGrid AI
Powered by 12 compliance verticals

Compliance AI Assistant

Ask me anything about compliance screening, license verification, shipping documents, or regulatory lookups.

This demo uses a shared sandbox key. For full access, create your own key in the Developer Portal.

MCP Server

ComplianceGrid ships with a Model Context Protocol (MCP) server that exposes all 23 compliance tools. Connect it to Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI client.

1. Run the MCP server

cd backend
npm run mcp

2. Add to your MCP client config

{
  "mcpServers": {
    "compliancegrid": {
      "command": "npx",
      "args": ["tsx", "src/mcp/server.ts"],
      "cwd": "/path/to/shipping-apis/backend",
      "env": {
        "MCP_API_BASE": "https://sandbox.api.compliancegrid.ai",
        "MCP_API_KEY": "cg_sk_your_sandbox_key_here"
      }
    }
  }
}

Available MCP Tools (23)

screen_restricted_partiessearch_consolidated_screening_listcheck_prohibited_goodsclassify_hs_codesearch_hts_codesvalidate_eei_filingcheck_filing_requireddetermine_required_documentssearch_fflverify_ffllookup_dea_registrationsearch_fda_drugssearch_fda_recallssearch_sec_edgarget_sec_filingssearch_fdic_bankssearch_finra_brokerssearch_finra_firmssearch_faa_aircraftlookup_faa_aircraftlookup_fmcsa_carriersearch_sam_govsearch_oig_leiecheck_oig_exclusion_by_npisearch_vesselssearch_ctpat_partnerssearch_fcc_licenseslookup_fcc_call_sign

Integrate via SDK

Add AI-powered compliance queries to your own application using the official SDKs or plain HTTP. Your agents and systems get instant answers from real government data.

Node.js / TypeScript SDK

// Node.js / TypeScript
import ComplianceGrid from "@compliancegrid/sdk";

const cg = new ComplianceGrid({
  apiKey: "cg_sk_your_sandbox_key_here",
});

const response = await cg.ai.chat({
  messages: [{
    role: "user",
    content: "Screen Huawei Technologies against all watchlists",
  }],
});

console.log(response.data.reply);
console.log(response.data.toolsUsed);

SDK (programmatic access)

# Use your ComplianceGrid sandbox or production key
export CG_API_KEY="cg_sk_your_sandbox_key_here"

# Chat with the AI assistant via curl
curl -s -X POST https://sandbox.api.compliancegrid.ai/v1/ai/chat \
  -H "Authorization: Bearer $CG_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{
      "role": "user",
      "content": "Screen Huawei Technologies against all watchlists"
    }]
  }' | jq .

# Response:
# {
#   "success": true,
#   "data": {
#     "reply": "I screened Huawei Technologies...",
#     "toolsUsed": [{ "name": "screen_restricted_parties", ... }]
#   }
# }