Skip to main content
Available as MCP tools: wiki_search + wiki_read — call directly from Claude / Cursor / any MCP client. See MCP Server for the 60-second setup.
Live   1 credit · search   free · read

What it does for your agent

wiki_search returns the most relevant Quant Wiki entries for a natural-language query — concepts, formulas, factors, and strategies. Use it as a research entry point: when an agent encounters a finance term mid-task (“what’s the Black-Scholes assumption?”, “explain pairs trading”), call wiki_search first to locate the right wikiItemIds, then wiki_read to load the full markdown body. The hybrid ranker combines vector cosine similarity, lexical (tsvector) matching, and Reciprocal Rank Fusion — so terse jargon and verbose questions both retrieve well.

Agent flow

Response

wiki_search response

data
WikiItem[]
required
Ranked array of wiki items (highest relevance first).
meta.creditsUsed
number
Credits consumed by this call (always 1 for search).
meta.remainingCredits
number
Account credits remaining.
200 OK · wiki_search
{
  "data": [
    {
      "wikiItemId": "wiki_abc123",
      "slug": "momentum-factor",
      "title": "Momentum Factor",
      "summary": "Momentum captures the tendency of recent winners to keep winning over horizons of 3–12 months. It is one of the canonical Fama-French factors and underpins many systematic equity strategies.",
      "tags": ["equity", "factor"],
      "scores": { "combined": 0.91, "semantic": 0.88, "lexical": 0.79 }
    }
  ],
  "meta": { "creditsUsed": 1, "remainingCredits": 99 }
}

wiki_read response

data
WikiItem
required
The full wiki entry.
meta.creditsUsed
number
Always 0 for read.
meta.remainingCredits
number
Account credits remaining.

Notes

Two-step lookup is canonical: search returns IDs + summaries cheaply (1 credit, multiple hits), then wiki_read loads only the article(s) the agent actually needs (free). Read top-1 by default; read top-2 only when summaries are ambiguous.
Use maxLength on wiki_read to preview a long article before spending agent context tokens on the full body.
Queries longer than 2,000 characters are rejected with 400. Truncate or summarize long agent context before calling.
topK is capped at 10 for wiki_search. Higher values are silently clamped.

Direct invocation

// 1) Search
{
  "method": "tools/call",
  "params": {
    "name": "wiki_search",
    "arguments": { "query": "momentum factor", "topK": 5 }
  }
}

// 2) Read top hit
{
  "method": "tools/call",
  "params": {
    "name": "wiki_read",
    "arguments": { "wikiItemId": "wiki_abc123", "maxLength": 1500 }
  }
}

Full parameter reference

query
string
required
Natural-language search query. Max 2,000 characters.
topK
number
default:5
Maximum results to return. Range 1–10.
wikiItemId
string
required
The wikiItemId returned by wiki_search.
max_length
number
Maximum character length for body_markdown. Useful for previewing long articles before consuming agent context.

Paper Search

Same two-step pattern over the academic paper corpus.

MCP Server setup

Connect Claude / Cursor / any harness in 60 seconds.