Skip to main content

Finix docs MCP server

A Model Context Protocol server over a documentation repository. Point Claude Desktop, Claude Code, or any MCP client at it and ask "how do I authenticate a webhook?"; the answer comes back with the section it came from, as a link into the published docs. Built on the MCP Python SDK, runs over stdio, no keys, no vector database, no model download.

What it indexes​

SourceFromPages
Guidesguides/**/*.mdx and *.md, the published guides at finix.com/docs163
Request examplesapis/**/*.md, one request and response per endpoint, marked legacy because the repo deprecates them in favor of the live reference118
OpenAPIOptional: point it at a spec and every operation becomes a document with parameters, request body, and responses0 by default

Every page is cleaned (front matter, MDX imports, and JSX components removed; root-relative links made absolute), then split at headings, so a hit points at a section rather than a whole page. Ranking is BM25 with a title boost and an identifier-aware tokenizer, so merchant_identity matches "merchant identity" and the other way round.

Tools​

ToolWhat it does
search_docs(query, limit, source)Ranked sections with title, heading, URL, path, and an excerpt centered on the query terms
read_page(path)The full cleaned Markdown of one page, by repo path or URL
list_pages(section)The indexed pages, optionally under a path prefix such as guides/onboarding
index_stats()Docs root, counts per source, vocabulary size, whether a spec is loaded

One prompt, answer_developer_question, tells the model to search, read, answer with a code sample when the docs have one, and cite every claim. A test script runs the full MCP handshake over stdio.

Why​

Two reasons:

  1. The practical one: an assistant that answers from the docs with citations is the fastest way to find out where the docs are thin, because every uncited answer is a gap.

  2. What does "docs for agents" costs to build?: The answer is an afternoon for the server and longer for the plumbing: stdio transport, environment, virtual-environment paths, and the client-side errors Claude Desktop reports when any of those is wrong. A first attempt at Nium got that transport working end to end and taught me the plumbing; this is the complete build.

Both lessons are in every setup page I have written since.

Code​

github.com/mettakite/finix-mcp-server. Python 3.10+, uv sync, then uv run python -m finix_mcp "verify a webhook" to try a search from the terminal.