Claude Desktop
Claude for Desktop lets you talk to LLM models created by Anthropic. Using Anyquery, you can connect Claude Desktop to your local and online applications (such as Spotify, GitHub, Discord, etc.) and interact with them using natural language.
Prerequisites
Before you begin, ensure that you have the following:
- A working installation of Anyquery (
v0.4.0
). Follow the installation guide if you haven’t installed it yet. - A few integrations set up in Anyquery. Refer to each integration guide for more information.
- Claude Desktop installed on your machine. You can download it from the claude.ai website.
Connect Claude Desktop to Anyquery
-
Open Claude Desktop
Open Claude Desktop on your machine.
-
Open the settings
Click on the settings icon in the top right corner of the Claude Desktop window.
Go to the
Developer
panel and click onEdit Config
. It should show a JSON file in your file explorer. Open the file with your favorite text editor. -
Figure out where anyquery is installed
Following your installation method, Anyquery can be installed in different locations. You can find the location by running the following command in your terminal:
Terminal which anyqueryTerminal where anyqueryTerminal which anyqueryCopy the result of this command. You will need it in the next step.
-
Update the config file
Open the JSON file you opened in step 2. You should see a JSON that looks like this:
{"mcpServers": {...}}Add a new key to the JSON object with the following structure:
{"mcpServers": {"anyquery": {"command": "path/to/anyquery/that/you/copied/from/step-3","args": ["mcp","--stdio",// If you want to connect to a particular SQLite database, you can specify it here// "--database",// "path/to/database.db"// Refer to the Anyquery documentation for more options]}}}Save the file and restart Claude Desktop.
-
Ensure Claude Desktop is connected to Anyquery
Open Claude Desktop, and you should see a small hammer next to a number greater or equal to 3 in the bottom right corner. This indicates that Claude Desktop is connected to Anyquery.