• SYNC
  • CLEANUP
  • AUDIT
  • REVIEW

How to update search index content with your AI

Connect Swiftype to your AI client to manage your search index without opening a web dashboard. You can add new data or clear out old documents using natural language.

Ask AI about this page

Short answer

How can I update my Swiftype search index using AI?

Your AI uses specific tools to push new JSON documents into Swiftype or remove existing ones from the index. This lets you keep your search results current by simply telling your agent what to add or delete. You'll see how the AI handles document types and deletions in the breakdown below.

Index management outcomes

Where your data lands.

These are the results of your AI's actions on the Swiftype index.

SYNC

Fresh search results

The AI pushes new JSON documents into the index. Your search engine immediately reflects these updates.

CLEANUP

Removed stale data

The AI deletes specific documents that are no longer relevant. This keeps your search results accurate and clean.

AUDIT

Document type visibility

The AI checks which document types exist in your index. You get a clear view of your current data structure.

REVIEW

Human oversight needed

You decide which documents are ready to be deleted or added. The AI performs the technical execution once you confirm the intent.

The workflow

What your AI does when the request arrives.

The AI translates your instructions into direct API calls to Swiftype.

  1. Identify index structure

    Before making changes, the AI checks what kind of data is currently being indexed. This ensures the new documents match your existing setup.

    st.list_doc_types
  2. Add new content

    When you provide new information, the AI formats it as a JSON document and sends it to the index.

    st.create_documents
  3. Remove old content

    If you tell the AI that a piece of content is outdated, it finds the specific document and removes it.

    st.delete_documents
  4. Verify changes

    The AI confirms the document was processed correctly. You receive a confirmation that the index is now up to date.

    st.list_doc_types

Try it

Copy these to start.

Use these prompts to begin managing your Swiftype index.

Starting points

These are starting points. You should swap in your specific JSON data or document IDs.

Swiftype / Elastic App Search Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_G3YqlNBTOlJoB2C6UQsglvpbCGCydRyab9CjoxGh/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 — Swiftype / Elastic App Search capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "swiftype-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_G3YqlNBTOlJoB2C6UQsglvpbCGCydRyab9CjoxGh/mcp"
    }
  }
}
Copy into chat04
  • Add this JSON document to my Swiftype index: {"id": "123", "title": "New Product"}

  • List all the document types currently in my Swiftype index.

  • Delete the document with ID 'abc-789' from my Swiftype search index.

  • Check my Swiftype document types and then add a new document for the 'blog_post' type.

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

Start here

Connect Swiftype once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start managing your index through your preferred AI client.

Connect Swiftype to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my Swiftype account settings?

    No. The AI only has permission to manage documents and list document types.

  • 02

    Will the AI delete my entire index?

    No. The AI can only delete specific documents that you explicitly tell it to remove.

  • 03

    Do I need to format the JSON myself?

    You can provide the data in plain text, and the AI will attempt to format it into the required JSON structure for the index.

  • 04

    Can the AI see my search analytics?

    No. This connector is limited to document management and does not have access to search logs or analytics.

  • 05

    How does the AI know which document to delete?

    You must provide the specific document ID or enough information for the AI to identify the target document.

  • More questions about Swiftype? See everything the Swiftype Connector can do

Connect Swiftype / Elastic App Search to Claude, Cursor, ChatGPT & more