Anyquery logo

Anyquery

by julien040

Anyquery is a SQL query engine that allows you to run SQL queries on pretty much anything. It supports querying files, databases, and apps, and can connect to LLMs.

View on GitHub

Last updated: N/A

What is Anyquery?

Anyquery is a versatile SQL query engine that enables users to execute SQL queries across various data sources, including files, databases, and applications. It leverages SQLite and a plugin architecture to extend its capabilities and connect to Large Language Models (LLMs).

How to use Anyquery?

Anyquery can be used via its shell mode, MySQL server mode, or through the Model Context Protocol (MCP) for LLM integration. The shell mode allows direct SQL query execution. The MySQL server mode allows connecting with MySQL-compatible clients. MCP enables LLMs to access data through Anyquery.

Key features of Anyquery

  • Query files, databases, and apps

  • Connect to LLMs

  • Act as a MySQL server

  • Plugin-based architecture

  • Supports SQLite extensions

Use cases of Anyquery

  • Data analysis across multiple sources

  • Integrating LLMs with local data

  • Providing a SQL interface to non-SQL data sources

  • Automating data extraction and transformation

  • Building custom data integrations

FAQ from Anyquery

What data sources does Anyquery support?

Anyquery supports files, databases, and applications. See the documentation for a list of available plugins.

How do I install plugins?

Plugins can be installed from the official registry or created by users. Anyquery can also load any SQLite extension.

How do I connect Anyquery to an LLM?

Anyquery supports the Model Context Protocol (MCP) and function calling. Refer to the documentation for specific connection guides.

What license does Anyquery use?

Anyquery is licensed under the AGPLv3 license for the core engine. The RPC library is licensed under the MIT license.

Can I contribute to Anyquery?

Yes, you can contribute to Anyquery. Please read the contributing guidelines in the documentation.