Custom Reference Data#

By default the reference-data path points at the published OneTick Cloud coverage source cloned in the quickstart. The files are not bundled with the package. On-prem and custom deployments can use their own files by pointing ONETICK_DB_CSV_DATA_PATH at a different directory.

ONETICK_DB_CSV_DATA_PATH=/path/to/your/reference-data/

Important

The configured directory fully replaces the default — there is no merging. Only files used by enabled tools need to be present. If a required file is missing or malformed, the corresponding tool call fails with an actionable MCP protocol error; it does not return an empty result.

No server restart is required — changes to files in ONETICK_DB_CSV_DATA_PATH take effect on the next request.

Setup checklist#

  1. Create a directory containing the files needed by the reference-data tools you enable, as listed in Data source.

  2. Use the exact filenames — the MCP server discovers each tool by looking for its corresponding filename in ONETICK_DB_CSV_DATA_PATH.

  3. Use tab-separated format with a header row — see File schemas for required columns and examples. Columns are matched by name, so extra or reordered columns are fine; each tool only needs its mandatory columns (see Column handling (dynamic, schema-resilient)) and fails the call with a clear message if one is missing.

  4. Set ONETICK_DB_CSV_DATA_PATH to your directory path.

  5. Verify by starting the server and calling list_databases — it should return your databases.

See Reference Data Tools for the full file mapping, required columns, and example rows for each file.