Repository navigation
Catalog searches: record what people look for in the store, on /welcome and from a chat - #895
Merged
Merged
Conversation
This was referenced Oct 6, 2026
…me and from a chat
The store and /welcome filter the catalog in the browser and the chat's
find_connectors kept no trace, so searches that found nothing were lost.
Each settled query now becomes a catalog_search product event with the
result count and the surface; picking a result after a search records
catalog_search_picked. From a chat, the server also stores the query words
no connector mentions, since a partial match ("printify shop" -> shop
connectors) still returns results.
Queries are capped at 100 characters and dropped when they hold an email
address or look like a pasted key.
keysersoft
force-pushed
the
keysersoft/anythingmcp-connectors-tracking
branch
from
October 6, 2026 11:26
892b0dc to
8e93a82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
None of our three catalog searches kept a trace. The store and /welcome filter in the browser, and
find_connectors(shared/mcp, used from Claude) logged neither its query nor its result. So we could not see which apps people come for and do not find.What changes
catalog_searchandcatalog_search_picked, with new metadata keysquery,resultsandmissing.ConnectorSetupService.find): the server records every non-empty query withvia: 'mcp', the result count and the returned slugs. It also recordsmissing: the query words no connector mentions anywhere.resultsalone overstates coverage, because "printify shop" returns the shop connectors while Printify itself is missing.useCatalogSearchReport): only a settled query is sent, after typing pauses for 1.5 s, when a result is opened, or when the page is left. Prefixes are never sent.resultscounts matches across the whole catalog (the category chip is ignored), and opening a result sendscatalog_search_picked.via: store | welcome; a client-sentvia: 'mcp'is dropped.sanitizeSearchQuery: whitespace collapsed, at most 100 characters; a query holding an email address or looking like a pasted key is dropped (the event is kept, without the query).Reading it
Verified
Companion website PR: HelpCode-ai/anythingmcp-website#311.