Tools define the boundary
The model never receives raw database authority; it can only call explicit, inspectable capabilities.
Controlled natural-language analytics across financial data
A financial analytics assistant that combines Claude tool use, an MCP interface, database schema discovery, controlled SQL execution, and RAG over domain documentation.
Role · AI accelerator architecture and engineering
System anatomy
The problem
Analysts need to explore structured financial data without giving an LLM unconstrained database access. FinSight grounds queries in schema and domain context, limits execution to controlled tools, and keeps the reasoning path inspectable.
What the system does
MCP tools for schema discovery and query execution
Natural-language to validated read-only SQL
RAG over domain documents and schema metadata
Structured and unstructured reasoning in one workflow
Streamlit UI plus REST adapter
Architecture
FastMCP server around scoped database tools
Claude tool calling for planning and orchestration
PostgreSQL financial data and ChromaDB domain retrieval
Validation layer between generated query and execution
Key decisions
The model never receives raw database authority; it can only call explicit, inspectable capabilities.
Discovery and metadata grounding happen before query generation.