Skip to main content
KiwiFS can import rows from relational and document databases, converting each record into a markdown page with structured frontmatter.

PostgreSQL

Options

MySQL

Same flags as PostgreSQL. The DSN format follows Go’s mysql driver convention.

SQLite

MongoDB

Firestore

Firestore requires Google Cloud credentials. Set GOOGLE_APPLICATION_CREDENTIALS or run within a GCP environment.

DynamoDB

Uses your default AWS credentials (~/.aws/credentials, AWS_PROFILE, or IAM role).

Redis

Each matching key becomes a markdown page. Hash keys become frontmatter fields; string values become the page body.

Elasticsearch

MCP usage

All database imports are also available via the kiwi_import MCP tool:
Use dry_run: true to preview what would be imported before writing any files.

Output format

Each imported record becomes a markdown file:
Re-importing the same data is idempotent — KiwiFS compares _source_id and field values, skipping unchanged records.
Last modified on May 31, 2026