• SEARCH
  • FILTER
  • EXTRACT
  • REVIEW

How to query and filter data sets with your AI

Connect Deta Space to your AI client to run deep searches through your collections. Once linked, your agent handles the heavy lifting of filtering JSON data.

Ask AI about this page

Short answer

How can I search through my Deta Base collections using my AI?

Your AI uses JSON query logic to scan your collections and pull only the records that match your specific criteria. This allows you to ask questions about nested data or complex attributes without manual filtering. You get precise results based on the exact parameters you define.

The results you get.

Where your data lands.

The AI acts as a bridge between your natural language questions and your Deta Base storage.

SEARCH

Find specific records

The AI translates your request into a JSON query to isolate exact matches within a collection. You get the specific data points you asked for.

FILTER

Narrow down results

Use logic to exclude irrelevant entries or focus on specific subsets of your data. This keeps your context window clean and relevant.

EXTRACT

Pull nested values

The AI reaches into complex JSON objects to grab specific fields. You can ask for deep attributes without digging through the whole set.

REVIEW

Human verification

The AI presents the found records for you to check. You decide if the filtered data meets your needs before moving to the next step.

The workflow

What your AI does when the query arrives.

The AI handles the translation from your intent to the technical query required by Deta Space.

  1. Interpret intent

    Your agent analyzes your question to determine which collection needs to be searched and what the filtering logic should look like.

    base_query_items
  2. Execute the search

    The AI builds a JSON query and sends it to the Deta Base collection to find the matching items.

    base_query_items
  3. Parse the results

    The agent receives the raw JSON response and organizes it so it's readable for your conversation.

    base_query_items
  4. Present findings

    The AI shows you the filtered records and waits for your follow-up questions or instructions.

    base_query_items

Try it

Copy these to start.

Use these prompts to begin interacting with your Deta Base collections.

Starting points

Replace the collection names and field names with your actual Deta Base details.

Deta Space Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_GX4IrdQUKPa9zaRnx8N7BCKZxc1g51D1pb49fcrf/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Deta Space capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "deta-space-serverless-personal-cloud-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_GX4IrdQUKPa9zaRnx8N7BCKZxc1g51D1pb49fcrf/mcp"
    }
  }
}
Copy into chat04
  • Find all records in the 'users' collection where the 'status' is 'active'.

  • Search the 'orders' collection for any items with a 'price' greater than 50.

  • In my 'inventory' collection, show me all products that are currently 'out_of_stock'.

  • Query the 'logs' collection to find entries from '2023-10-01' where the 'level' is 'error'.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Deta Space once, then ask.

Follow the link to authorize the connection. Your credentials stay encrypted, and you can immediately start querying your data through your preferred AI client.

Connect Deta Space to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete records in my Deta Base?

    No. This connector is designed for querying and filtering data, not for modifying or deleting it.

  • 02

    Can I perform math on the results?

    Yes. Once the AI retrieves the filtered records, you can ask it to perform calculations, like sums or averages, on the data it found.

  • 03

    Does the AI see my entire database?

    The AI only sees the specific records returned by the query it executes. It does not have a constant stream of your entire database.

  • 04

    Can the AI add new items to my collection?

    No. The available tools are limited to querying and retrieving items via base_query_items.

  • 05

    How does the AI handle complex nested JSON?

    The AI uses the JSON query logic to target specific keys within nested objects, allowing it to filter by deep attributes.

  • More questions about Deta Space? The Connector page answers them. See everything the Deta Space Connector can do

Connect Deta Space to Claude, Cursor, ChatGPT & more