# Who is actually using your Snowflake MCP server?

DevFeed: [Who is actually using your Snowflake MCP server?](<https://devfeed.tech/articles/who-is-actually-using-your-snowflake-mcp-server-124191.md>)

Original publisher: [Read original article](<https://medium.com/snowflake/who-is-actually-using-your-snowflake-mcp-server-683a6cb543d7?source=rss----34b6daafc07---4>)

Author: Ondřej Blaha

Published: 2026-11-09T15:01:04Z

Content type: article

Language: en

Sources: [Snowflake Builders](<https://devfeed.tech/sources/snowflake-builders.md>)

Topics: [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [JOIN](<https://devfeed.tech/topics/join.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [ai observability](<https://devfeed.tech/topics/ai-observability.md>), [Single sign-on (SSO)](<https://devfeed.tech/topics/sso.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [integration](<https://devfeed.tech/tags/integration.md>), [join](<https://devfeed.tech/tags/join.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [snowflake](<https://devfeed.tech/tags/snowflake.md>), [snowflake-cortex](<https://devfeed.tech/tags/snowflake-cortex.md>)

## AI overview

Snowflake does not record the MCP server name in query history, but it records the OAuth security integration used at login. Assigning a separate integration to each MCP server and joining QUERY_HISTORY.AUTHN_EVENT_ID to LOGIN_HISTORY.EVENT_ID lets teams attribute queries by integration, user, role, and time; a shared integration only identifies a group. The article explains how to configure OAuth integrations and build usage reports, while noting that login rows are not calls and that query counts can include procedure or dbt work and require filtering out Snowflake's automatic skills-list queries. PAT and key-pair sign-ins lack an integration name, so attribution is weaker. Cortex Analyst leaves tagged validation queries but does not execute returned SQL; Cortex Search activity generally cannot be tied to a user or channel in account usage. Query and login history are delayed, and some queries may be missing or sampled. The reported method is a workaround based on the author's internal October 2026 testing.

## Source excerpt

How to see who sends queries through MCP, how many and how often, using one join in account usageSnowflake has no column that tells you which MCP server a query came through. It does store the name of the OAuth security integration that every MCP client signs in with. Give each MCP server its own integration, join one column from query history to login history, and you have usage per server, user and day. This article shows how, and where the approach stops working. Setting up a Snowflake-managed MCP server takes a few minutes. A few weeks later, the same client usually comes back with a different question: is anyone using it? Which users, how often, and is it worth it? I get this question from clients regularly. The last one put it as a requirement: a model that contains only queries run by their reporting team through one specific MCP server, without the same people's Snowsight work, and with user, role, timestamp and volume. Two identical rows in query history My first thought was that a filter on query history would do it. It won't, because query history has no column that says "this came from MCP server X", and I did not find one anywhere else in account usage either. That client's reporting team works in Snowsight every day and has recently started asking Claude as well. When an analyst writes select region, sum(revenue) from sales in a worksheet and later asks Claude the same question, Claude sends the same SQL through the MCP server. QUERY_HISTORY then holds two rows with the same text, the same user, the same role and, if the warehouse is shared, the same warehouse.The two queries differ only in how the analyst signed in.The sign-in tells them apart An MCP client such as Claude Desktop, Claude Code or Cursor signs in through an OAuth security integration, while Snowsight uses SSO or a password. Snowflake stores the name of the integration with every login, and every query points to the login that opened its session, so all it takes is one join: select q.que