
flapi
by DataZooDE·★ 70·Score 46
flAPI generates SQL-based APIs with DuckDB and provides MCP tools for AI agents.
Overview
flAPI is a C++ framework that creates read-only APIs from SQL templates using DuckDB. It offers unified configuration for both REST endpoints and MCP tools, allowing developers to expose database connections through APIs with automatic validation and caching. The framework supports multiple data sources including BigQuery, Snowflake, Parquet, Iceberg, and various SQL databases, with built-in security features and Swagger documentation.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose flAPI when you need to quickly create APIs for existing data warehouses or databases that AI agents need to access, especially when you're already using DuckDB or want read-only access without ETL.
When NOT to choose this
Don't choose flAPI if you need write access to your databases, require complex business logic beyond SQL queries, or need to connect to data sources not supported by DuckDB.
Tools this server exposes
1 tool extracted from the READMEget_customersRetrieve customer information by ID
Note: Tool name inferred from unified configuration example where mcp-tool: get_customers is defined
Comparable tools
Installation
Installation
The easiest way to try flAPI is using uvx:
uvx --from flapi-io flapi -c flapi.yamlOr install permanently:
pip install flapi-ioUsing Docker:
docker pull ghcr.io/datazoode/flapi:latest
docker run -it --rm -p 8080:8080 -p 8081:8081 -v $(pwd)/examples/:/config ghcr.io/datazoode/flapi -c /config/flapi.yaml --enable-mcpClaude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"flapi": {
"command": "flapi",
"args": ["--enable-mcp"]
}
}
}FAQ
- What data sources does flAPI support?
- flAPI supports BigQuery, Snowflake, Parquet, Iceberg, Postgres, MySQL, SAP ERP & BW, and other data sources through DuckDB extensions.
- How is MCP configured in flAPI?
- MCP is enabled either with the --enable-mcp flag or by setting 'mcp: enabled: true' in the flapi.yaml configuration file.
Compare flapi with
Last updated · Auto-generated from public README + GitHub signals.