# Install anyquery with Homebrew, winget

Query anything with SQL. Version 0.4.6 via Homebrew; verified 2026-07-03.

## Install

```sh
sudo av install brew:anyquery
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install anyquery
```

  Evidence: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id JulienCagniart.anyquery -e
```

  Evidence: Windows Package Manager source index: JulienCagniart.anyquery from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:anyquery
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/anyquery>
- **Version:** 0.4.6
- **Source summary:** Query anything with SQL
- **Homepage:** <https://anyquery.dev>
- **Repository:** <https://github.com/julien040/anyquery>
- **Upstream docs:** <https://anyquery.dev/docs>
- **License:** AGPL-3.0-only
- **Source archive:** <https://github.com/julien040/anyquery/archive/refs/tags/0.4.6.tar.gz>
- **Last updated:** 2026-07-03T15:10:06Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- anyquery (cli)
- anyquery (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.4.6
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/julien040/anyquery
- Upstream latest detected: 0.4.6 (current)
## Project history and usage

anyquery is a Go command-line SQL query engine that exposes files, databases, APIs, desktop apps, plugins, and LLM-facing tools as queryable tables. It is built on SQLite and presents a package-manager-friendly single binary plus plugin registry model.

### Project history

The official README describes anyquery as a SQL query engine for 'pretty much anything', including files, databases, and apps such as Apple Notes, Notion, Chrome, and Todoist. It is built on SQLite and extended through plugins, and it can also run as a MySQL-compatible server for tools such as TablePlus and Metabase.

The project also moved into LLM tooling. The README and docs describe Model Context Protocol support via anyquery mcp, HTTP/SSE mode, and a function-calling server through anyquery gpt, allowing ChatGPT, Claude, Cursor, TypingMind, and similar clients to query local or connected data.

### Adoption history

anyquery's distribution footprint is broad for a young project. The official README lists Homebrew, APT, YUM/DNF, Scoop, Winget, Chocolatey, Arch AUR, and GitHub release binaries, while the input facts show Homebrew and Winget packages.

The plugin registry is central to adoption: badges in the README expose integration counts and query-hub counts, and docs describe installing plugins, managing profiles, loading SQLite extensions, and connecting LLM interfaces. This makes anyquery more like a queryable integration platform than a fixed CLI.

### How it is used

Users run SQL directly in the anyquery shell, pass one-off queries with flags, start a MySQL-compatible server with anyquery server, install plugins from the registry, and create profiles for separate plugin configurations such as personal and work accounts.

The CLI reference documents --config as a path to the configuration database and --database as either a database path or :memory:, but the official docs inspected here do not specify a fixed default config-file path. For that reason the config-file-location is left null rather than inventing a platform path.

### Why package nerds care

anyquery is interesting because it compresses several trends into one package: SQLite-as-runtime, plugin-based data virtualization, local-first CLI workflows, MySQL compatibility for BI tools, and MCP/function-calling bridges for LLM clients.

For package managers, the core binary is only the start. The real ecosystem is registry metadata, plugin binaries or extensions, profiles containing service configuration, and security-sensitive integrations with desktop apps and web accounts.

### Timeline

- 2024: The public Git tag list starts with 0.1.x releases.
- 2025: The release feed shows 0.4.4 with security and plugin documentation work.
- 2026: The release feed shows 0.4.5 as a security-fix release and describes anyquery as a query engine for querying anything over SQL.

### Related projects

- SQLite is the underlying query engine named by the official README.
- The Model Context Protocol is a supported integration mode for LLM clients.
- MySQL-compatible clients such as TablePlus and Metabase are named by upstream as connection targets.
- PRQL and PQL are alternative query languages supported by the CLI.

### Sources

- Official README, docs pages, release feed, and source_facts.package-manager.


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** anyquery
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- winget - JulienCagniart.anyquery: normalized package name match | Windows Package Manager source index: JulienCagniart.anyquery from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [apache-drill](https://www.automicvault.com/pkg/brew/apache-drill/) - Shares av.db curated category or tags: cli, data, query-engine, query-engines, sql.
- [prestodb](https://www.automicvault.com/pkg/brew/prestodb/) - Shares av.db curated category or tags: cli, data, query-engines, sql.
- [csvq](https://www.automicvault.com/pkg/brew/csvq/) - Shares av.db curated category or tags: cli, data, sql.
- [datafusion](https://www.automicvault.com/pkg/brew/datafusion/) - Shares av.db curated category or tags: cli, data, query-engine, sql.
- [prqlc](https://www.automicvault.com/pkg/brew/prqlc/) - Shares av.db curated category or tags: cli, data, sql.
- [trino](https://www.automicvault.com/pkg/brew/trino/) - Shares av.db curated category or tags: cli, data, query-engine, sql.
- [alluxio](https://www.automicvault.com/pkg/brew/alluxio/) - Shares av.db curated category or tags: cli, data.
- [apache-arrow](https://www.automicvault.com/pkg/brew/apache-arrow/) - Shares av.db curated category or tags: cli, data.

## Combined YAML source

View the package source record on GitHub. [combined/anyquery.yml](https://github.com/automic-vault/db/blob/main/combined/anyquery.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
