SQLite MCP Server#
The SQLite MCP server is maintained by Anthropic. It exposes SQL
execution and schema inspection over MCP. AgentSUMO uses it to let the
Planner Agent answer analytical questions about simulation results through
natural-language → SQL translation against simulations.db.
Official documentation#
github.com/modelcontextprotocol/servers-archived/tree/main/src/sqlite
Tools used by AgentSUMO#
The server exposes six tools across three categories, matching the layout in Figure 2 of the paper.
Category |
Tool |
Purpose |
|---|---|---|
Query |
|
Execute a |
Query |
|
Execute |
Query |
|
Create new tables in the database. |
Schema |
|
List the tables in |
Schema |
|
Inspect a table’s schema. |
Analysis |
|
Persist intermediate analytical findings as session memos. |
How AgentSUMO uses it#
Four concrete patterns:
Natural-language analytics. Questions like “Which road had the worst congestion?” or “Compare CO₂ emissions across the three EV scenarios” are translated to SQL by the LLM and executed through
read_query.Schema introspection during reasoning.
list_tablesanddescribe_tablelet the agent inspect the database before constructing a query — useful when it has been a few turns since the lastxml_to_sqlite_toolcall.Materializing derived tables.
write_queryandcreate_tablelet the agent persist a per-corridor aggregate, a pre-joined view, or any other derived structure that subsequent questions reuse without rerunning the underlying joins.Session-level memos.
append_insightlets the agent record intermediate findings that survive across tool calls within the same conversation.
The same database holds all simulation runs in a single file, keyed by a
unique simulation_id. This is what enables cross-scenario relational
querying through ordinary SQL JOIN — see Database
for the relational model.