02-docs-mcp

02-docs-mcp is a cursor rule for Cursor from sfc-gh-cconner/support-rules-mcp. It costs 1,851 tokens per session, scanned A, original, Apache-2.0.

A set of rules for finding answers in official Snowflake documentation through a documentation search service. Snowflake is a cloud platform for storing and analyzing data.

In plain words
What is it for?
Use it when checking Snowflake features, authentication methods, SQL command syntax, or Snowpark Container Services.
Why use it?
It gives documentation searches a defined source and method, reducing the need to rely on unofficial or outdated explanations.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/sfc-gh-cconner/support-rules-mcp/02-docs-mcp
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-cconner/support-rules-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 02-docs-mcp

README.md
[![agentmods](https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/02-docs-mcp.svg)](https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/02-docs-mcp)
Your own site
<a href="https://agentmods.dev/rules/sfc-gh-cconner/support-rules-mcp/02-docs-mcp"><img src="https://agentmods.dev/badge/rules/sfc-gh-cconner/support-rules-mcp/02-docs-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,851 This file is loaded in full into every session.
When invoked 1,851 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01851 $0.01851
Opus 5 $0.00925 $0.00925
Sonnet 5 $0.00370 $0.00370
Haiku 4.5 $0.00185 $0.00185

Measured 5d ago against content hash 61eb482ba8fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

02-docs-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/core/02-docs-mcp.mdc · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Official Documentation Access via Snowflake Docs MCP

PURPOSE: Access official Snowflake documentation using the Snowflake Docs MCP server.

🎯 Core Principle

ALWAYS use Snowflake Docs MCP for official documentation, guides, and reference material.

📚 Snowflake Docs MCP Tool

Search Documentation

mcp_snowflake-docs_CKESnowflakeDocs(
    query="your search query here",
    limit=10,  # Number of results (default: 10)
    columns=["CHUNK", "TITLE"],  # Optional: specify columns
    filter={}  # Optional: filter by attributes
)

Returns: Array of documentation chunks with:

  • CHUNK: The documentation content
  • @scores: Relevance scores (text_match, cosine_similarity)
  • Additional metadata fields

🔍 Common Search Patterns

Pattern 1: Feature Documentation

# Search for SPCS features
mcp_snowflake-docs_CKESnowflakeDocs(
    query="Snowpark Container Services image repository",
    limit=5
)

# Search for authentication methods
mcp_snowflake-docs_CKESnowflakeDocs(
    query="authentication key pair oauth",
    limit=5
)

# Search for SQL commands
mcp_snowflake-docs_CKESnowflakeDocs(
    query="CREATE NETWORK POLICY syntax",
    limit=3
)

Pattern 2: Error Documentation

# Search for error codes
mcp_snowflake-docs_CKESnowflakeDocs(
    query="error code 090001",
    limit=5
)

# Search for error messages
mcp_snowflake-docs_CKESnowflakeDocs(
    query="Session no longer exists troubleshooting",
    limit=5
)

Pattern 3: Configuration & Parameters

# Search for parameters
mcp_snowflake-docs_CKESnowflakeDocs(
    query="STATEMENT_TIMEOUT_IN_SECONDS parameter",
    limit=3
)

# Search for system functions
mcp_snowflake-docs_CKESnowflakeDocs(
    query="SYSTEM$CLUSTERING_INFORMATION function",
    limit=3
)

Pattern 4: Best Practices & Guides

# Search for best practices
mcp_snowflake-docs_CKESnowflakeDocs(
    query="warehouse sizing best practices",
    limit=5
)

# Search for getting started guides
mcp_snowflake-docs_CKESnowflakeDocs(
    query="getting started with Snowpark Python",
    limit=5
)

# Search for security guides
mcp_snowflake-docs_CKESnowflakeDocs(
    query="network policy configuration guide",
    limit=5
)

Read the full file on GitHub · 288 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 288 lines · 1,851 tokens per session scan A 61eb482ba8fc

Subscribe to this mod's changes

02-docs-mcp is a cursor rule published in the GitHub repository sfc-gh-cconner/support-rules-mcp (0 stars, last pushed 11mo ago), licensed Apache-2.0. It adds 1,851 tokens to every session, about $0.0093 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.