API Overview
Spice provides high-performance, industry-standard APIs:
SQL Query APIs​
- Arrow Flight / Arrow Flight SQL: High-performance SQL query.
- ODBC, JDBC, ADBC: Standard SQL interfaces for database clients and analytics tools.
OpenAI-Compatible APIs​
- HTTP APIs: Compatible the OpenAI SDK, AI SDK with local model serving (CUDA/Metal accelerated) and gateway to hosted models.
Iceberg Catalog REST APIs​
- HTTP APIs: Unified API for consuming Apache Iceberg catalogs in data lake architectures.
MCP API​
- HTTP APIs: The Model Context Protocol (MCP) helps integrate external tools and services into the Spice runtime. MCP tools can be accessed via HTTP APIs for tool integration and orchestration. For details, see the MCP documentation.
note
HTTP Streaming support for MCP is coming soon.