julien040/anyquery
Free通过 SQL 查询 40+ 应用,并连接 PG/MySQL/SQLite 数据库。本地优先,注重隐私。
FreeFree tier
About julien040/anyquery
Anyquery is a SQL query engine that unifies access to over 60 tools and data sources, including GitHub, Notion, Airtable, Apple Notes, Chrome, Todoist, and more. Built on SQLite, it uses a plugin system to extend query capabilities across files, databases, and applications. Anyquery can connect to large language models (LLMs) via the Model Context Protocol (MCP) or function calling, enabling AI assistants like ChatGPT, Claude, and Cursor to directly query user data. It also supports acting as a MySQL server, allowing any MySQL-compatible client (e.g., TablePlus, Metabase) to run SQL queries. Designed as a local-first, privacy-respecting tool, Anyquery is open source and free to use.
Key Features
SQL query engine for files, databases, and apps (60+ plugins)
Connects to LLMs via Model Context Protocol (MCP) or function calling
Can act as a MySQL server for compatibility with MySQL clients
Plugin-based architecture for extensibility
Supports querying GitHub, Notion, Airtable, Apple Notes, Chrome, Todoist, and more
Local-first, privacy-respecting design
Open source and free
Pros & Cons
Pros
- Free and open source
- Broad integration with 60+ tools and data sources
- Local-first design ensures data privacy
- Easy integration with LLMs via MCP standard
- Works with existing MySQL-compatible tools and clients
- Active development on GitHub with community support
Cons
- Primarily a command-line tool; no native graphical user interface
- Requires some technical knowledge to set up and use
- Plugin ecosystem may not cover all desired applications
- Documentation is still evolving
Best For
Query data from multiple applications and databases using a single SQL interfaceEnable AI assistants to access user data securely via MCP integrationPerform analytics and reporting by connecting to MySQL-compatible BI toolsAutomate data retrieval and processing from various SaaS toolsIntegrate LLMs with personal or organizational data for contextual responses
FAQ
How does Anyquery connect to LLMs?
Anyquery supports the Model Context Protocol (MCP) for LLMs that support it, and also works with function calling clients like ChatGPT and TypingMind.
Is Anyquery free?
Yes, Anyquery is completely free and open source under an MIT-style license.
What tools and apps can Anyquery query?
Anyquery supports over 60 plugins for tools such as GitHub, Notion, Airtable, Apple Notes, Chrome, Todoist, and more. It can also query files and databases.
Can I use Anyquery with my existing database tools?
Yes, Anyquery can act as a MySQL server, so you can connect any MySQL-compatible client (e.g., TablePlus, Metabase) to run SQL queries.