← Return to tool atlas

datastore

Local SQLite datastore tools: create tables, insert data, run SQL queries, list tables, inspect schemas, and drop tables. Persists data across server restarts at ~/.mcp-canada/datastore.db.

6tools
All tools accept lang: "en" | "fr". Open each tool below for its source-derived parameters.
01

ds_create_table

Create a named table in the local SQLite datastore.

Use forcreating tables to store data from any source, setting up

datastore, create, table, sqlite, store, persist, schema, columns, local, database

ParameterTypeDefault
table_namestrrequired
columnslist[dict] | NoneNone
datalist[dict] | NoneNone
langLiteral['en', 'fr']'en'
02

ds_insert_data

Insert rows of data into an existing table in the local SQLite datastore.

Use forstoring fetched data, saving agent results, or populating

datastore, insert, rows, data, store, sqlite, write, append, persist, save, record, bulk

ParameterTypeDefault
table_namestrrequired
rowslist[dict]required
langLiteral['en', 'fr']'en'
03

ds_query

Run a read-only SQL query against the local SQLite datastore.

Use forretrieving, filtering, joining, or aggregating data stored in

datastore, query, select, sql, sqlite, search, filter, retrieve, join, aggregate, rows, results

ParameterTypeDefault
sqlstrrequired
langLiteral['en', 'fr']'en'
04

ds_list_tables

List all tables in the local SQLite datastore.

Use fordiscovering what tables exist in the local datastore, checking

datastore, list, tables, show, sqlite, catalog, discover, available, names, database

ParameterTypeDefault
langLiteral['en', 'fr']'en'
05

ds_get_schema

Get the column schema for a table in the local SQLite datastore.

Use forinspecting the structure of an existing table, verifying column

datastore, schema, columns, structure, sqlite, table, describe, inspect, types, definition, metadata, info

ParameterTypeDefault
table_namestrrequired
langLiteral['en', 'fr']'en'
06

ds_drop_table

Drop (delete) a table from the local SQLite datastore.

Use forremoving tables that are no longer needed, cleaning up

datastore, drop, delete, remove, table, sqlite, cleanup, reset, destroy, clear, purge, truncate

ParameterTypeDefault
table_namestrrequired
langLiteral['en', 'fr']'en'