MCP Search Existing Queries

Gustav Staprans · Friday Demos · August 7, 2026 · 3:17

Demo of new MCP tools (side project) that let AI clients search the Omni content index, list queries on existing documents, and run them — without generating new queries. Enables…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Congratulations. Okay, let's see if this works. So, I worked on Omni MCP a little bit as a side project. Typically, when you use MCP, you can create a request or contact an agent. So you're almost always creating new queries or new content. You can't actually search for and reference queries and content that already exist. So I'm going to add some tools so that you can search for content through the search index.

  2. You know, list the queries for the existing content and then run them. As you can see, he is looking for what he thinks are my important metrics. Gets all the queries from the documents that look relevant and then runs them for me. It seems he found what he needed. He will show me the result. It will show me usage and inventory over a period of time.

  3. This dashboard will provide a link to any dashboard or content where these queries have been saved. Now, if you're creating content in Omni that you want to link to through MCP and don't want it to constantly generate queries and guess, it can just take what's already there and run it for you in whatever interface you're using. Out of curiosity, Gustav, do we know if this consumes fewer tokens than a similar request?

  4. And would it be very useful for clients to ensure good semantic coverage of their content base? How can they best get accurate results? Should I add descriptions that cover questions, tiles, or existing answers in the workbook ? Maybe you can give some advice on this. Because I have a lot of ideas coming to me right now .

  5. Yes, of course. This will be a bit more resource intensive for your AI client regarding tokens. For example, in Claude desktop it looks like five or six calls because it has to search, list, and then run queries. So you spend more tokens on that side, but no tokens on the Omni side. You simply consult our search index.

  6. You are accessing some of our internal API endpoints. So, the use of Omni tokens for this will be zero. You only get API usage. As for what exactly the search index checks, the index developer can correct me, but I think the most important things are the document title, query names, descriptions, tags, etc. It will not check query results.

  7. At least in search tools on dashboards or documents, it does not analyze query results on its own. So the best way to get an accurate result is through query metadata, dashboard tile names, and the title itself. Excellent, very clear. Thank you. Ugh.