SpecProof MCP Documentation

SpecProof exposes a Model Context Protocol (MCP) server that lets AI assistants search and retrieve 3GPP, IETF, and Multimedia specification text. This page covers connecting, authenticating, and calling the tools the server publishes.

Quickstart

Server URL:

https://mcp.specproof.ai/mcp

SpecProof uses MCP Streamable HTTP with JSON-RPC 2.0 over HTTPS. The client and server negotiate their protocol version during initialization.

Claude

In Claude, open Settings → Connectors and add a custom connector with the server URL above. Choose Sign in now and Register automatically if prompted. On the SpecProof authorization page, sign in with your SpecProof account and allow access. Claude then returns to the connector.

ChatGPT

In the plugin settings, add a custom MCP server with the URL above and choose OAuth. Continue to SpecProof, sign in, and allow access. Start a chat and ask SpecProof for source passages.

Grok

Create an API key in the SpecProof portal. In Grok, open Connect Apps, choose Add a custom connector, and enter the server URL above. Set the X-API-Key header to your key in the connector settings. Start a chat, open Connectors from the attachment menu, and select SpecProof. To try the connection, ask SpecProof for the Flow Control section of RFC 9000 and its source filename.

Other MCP clients

Any MCP client that supports OAuth 2.0 with Dynamic Client Registration (DCR) can connect. Point it at the server URL and it will discover the authorization server via /.well-known/oauth-authorization-server.

Authentication

SpecProof supports two authentication methods. Pick whichever fits your client.

Option A — OAuth 2.0 (recommended for Claude.ai)

OAuth 2.0 with PKCE and Dynamic Client Registration. No manual token handling — Claude runs the flow end-to-end.

Option B — Static API key (recommended for Claude Code, scripts, CI)

Generate a long-lived API key in the SpecProof portal (Settings → API Keys → New Key) and pass it as X-API-Key or Authorization: Bearer. This works with mcp-remote and any client that supports custom headers.

Example mcp.json / claude_desktop_config.json:

{
  "mcpServers": {
    "specproof": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.specproof.ai/mcp",
        "--header",
        "X-API-Key:${SPECPROOF_API_KEY}"
      ],
      "env": {
        "SPECPROOF_API_KEY": "sk_your_key_here"
      }
    }
  }
}

Equivalent raw HTTP call:

curl -X POST https://mcp.specproof.ai/mcp \
  -H "X-API-Key: sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Query quotas and rate limits depend on the account plan. See the current details in the SpecProof billing portal.

Tools

search_specifications

Full-text (FTS5) keyword search across the indexed 3GPP and IETF corpus. Use when you know exact terms, TS numbers, or RFC numbers. Supports filtering by source, release, and document number.

semantic_search

Vector similarity search over document chunks using FAISS (HNSW/IVF/Flat indices). Returns the closest-matching clauses for natural-language queries, even when wording differs from the spec.

get_document_content

Retrieve the verbatim text of a specific document, optionally scoped to a page or section range. Preserves structure.

list_documents

Browse indexed documents by source (3gpp, ietf, or mpeg) and search pattern. The results include the filenames needed for retrieval.

get_database_stats

Report current document counts by standards collection, total chunks, and available search capabilities.

Examples

Find registration passages

Find up to three indexed TS 23.501 passages containing registration. Show the filenames and clause labels.

The query uses search_specifications with the 3GPP and TS 23.501 filters. Matches can include different versions of the same clause.

Check QUIC flow control against the source

Show the indexed RFC 9000 Flow Control text and explain the stream and connection limits.

Discover the indexed filename with list_documents, then retrieve its Flow Control text with get_document_content. Use the substantive clause body when citing requirements.

Compare indexed versions

Compare the latest two indexed versions of TS 23.501 and show the normative changes with clause references.

diff_spec_versions accepts a digits-only file base such as 23501. Version and clause coverage depend on the index.

Data used by the connector

The search tools receive search terms, filters, and document identifiers and return indexed standards material. Conformance test drafting sends the selected public requirement and its surrounding indexed clause to Anthropic's model API. A generated test may require implementation fixtures and needs review before use. See the SpecProof privacy policy for account, usage, and retention details.

Troubleshooting

OAuth connection fails or loops

Start a fresh connection from the host and complete SpecProof sign-in and consent in the same browser window. If the connection still fails, report the host, time, and visible error to support. Omit passwords and authorization codes.

"Not authorized" on tool calls after connecting

The access token is valid but your account lacks the plan required for the tool, or the token was revoked. Sign in at specproof.ai to check subscription status. If the status is fine, disconnect and reconnect the SpecProof connector in Claude.

Rate limit (HTTP 429)

Wait and retry after a short delay. Check current plan limits and remaining quota in the SpecProof billing portal.

Empty or unexpected results

Call get_database_stats first and verify the target release, RFC, or spec series is indexed. If the document is listed but returns no content, email support@specproof.ai with the document number and clause — we will reindex.

Semantic search returns off-topic clauses

Semantic queries match meaning, not exact wording. For precise lookups by TS number, RFC number, or clause identifier, use search_specifications instead — it runs full-text FTS5 and filters.

Stale or superseded content

Specs are indexed on a rolling basis. New 3GPP meeting outputs typically appear within 1–2 weeks; IETF RFCs within 24 hours of publication. If you need a specific draft prioritized, email support.

Connecting from non-Claude MCP clients

Any client that supports OAuth 2.0 with Dynamic Client Registration should work. Point it at https://mcp.specproof.ai/mcp; the client will auto-discover endpoints via /.well-known/oauth-authorization-server.

Support

Questions, bug reports, or missing specs: support@specproof.ai. Vulnerability reports: security@specproof.ai.