Skip to main content
Developers · MCP server and HTTP API

An MCP server and HTTP API for your company’s documentation

Connect Cursor, Claude Code and VS Code to your company’s indexed documentation and repositories.

Point an MCP client at one URL, or call the HTTP API from any language and stream answers as Server-Sent Events. MITHUNAI API keys begin mithunai_sk_. There is no SDK to install.

Cursor
Claude Code
VS Code
HTTP API
curl
GitHub sources
Beta

Model Context Protocol (MCP) Server

Add one entry to your editor's MCP configuration: the server URL https://app.mithunai.com/mithunai/api/v1/mcp and an Authorization: Bearer mithunai_sk_ header. Your coding assistant can then search your knowledge and ask your assistants without leaving the workspace.

search_knowledgeread-only

Returns the passages that best match a query, each with a citation. It does not generate an answer.

ask_assistantread-only

Asks an assistant and returns a grounded answer with citations, or an abstention when the sources do not support one.

list_knowledgeread-only

Lists the assistants you can ask and the knowledge bases you can search, with the IDs the other tools take.

curl -X POST https://app.mithunai.com/mithunai/api/v1/conversations/$CONVERSATION_ID/messages \
  -H "Authorization: Bearer mithunai_sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "How is multi-tenant isolation enforced?"}'
Response:Answer with citations, or "abstained": true
Developer First

One URL, three read-only tools: search, list and ask.

Connect your applications over the versioned HTTP API, or connect IDE assistants through the read-only Model Context Protocol (MCP) server, in beta.

Model Context Protocol (MCP) Ready

Connect Cursor, VS Code and Claude Code to your knowledge base using 3 read-only tools: search_knowledge, ask_assistant and list_knowledge.

SSE Streaming Responses

Deliver answers token by token directly to your users with verified citation anchors.

curl -X POST https://app.mithunai.com/mithunai/api/v1/conversations/$CONVERSATION_ID/messages \
  -H "Authorization: Bearer mithunai_sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "How is multi-tenant isolation enforced?"}'
Response:Answer with citations, or "abstained": true

More of the platform, over the same API

Everything the console does goes through the HTTP API, so it is open to your own tools too. These routes are relative to the same base as the rest.

  • GET /usage

    Your organisation’s answers this month against its allowance, by day, surface and assistant. A question past the allowance is answered 429 with the code quota_exceeded, before the answer engine runs.

  • /connections

    Save, list, rotate and delete your organisation’s connections. A secret goes in and never comes back out, and a knowledge source refers to a connection by its id.

  • GET /analytics/top-questions

    The most-asked questions of a period, with no identifier of who asked. GET /analytics/unanswered?group=true groups declined questions and says whether it grouped them by meaning or only by wording.

    Limit: The similarity threshold is not yet tuned on live questions.

  • PATCH and DELETE /members/{id}

    Change a member’s role or remove them, and POST /members/{id}/make-owner to hand over ownership. Only a signed-in session can: an API key cannot change or remove people.

  • /invitations and /password-reset

    Invite, resend, withdraw and accept invitations, and request and complete a password reset.

    Limit: In beta: a real invitation has not yet been tried. A deployment with no mail provider answers 503.

MITHUNAI Customer Docs • docs.mithunai.com

Customer Documentation Portal.Answer-First Guides & API Reference.

The public customer documentation, hosted at docs.mithunai.com: guides for every source and channel, and a reference page for each API route.

https://docs.mithunai.com/concepts/how-answers-workVerified HTTPS
Launch Portal
CORE DOCUMENTATION
Answer-First Guarantee

Every page begins with the direct answer and reproducible API example before discussing background context.

Get started / Concepts

How Grounded Answers Work

MITHUNAI transforms internal documentation and codebases into an assistant that answers questions with checkable inline citations, and explicitly abstains when the evidence is missing.

Answer-First Summary: Four Deterministic Pipeline Stages
1. Retrieval
Vector + Lexical
2. Grounding
Evidence Check
3. Citations
Source Passages
4. Abstention
When Evidence Is Thin
EXAMPLE CITATIONILLUSTRATIVE
source: Docs site (sitemap)
title: Configure rate limits
url: https://docs.example.com/rate-limits
passage: The passage the answer rests on
Live at docs.mithunai.com
Read Full Guide in Docs Portal

Answer-First

Guides lead with the steps and the working request, then explain what happens underneath.

API Reference

A reference page for each route, with its parameters, errors and a curl example.

Read-Only MCP Server

A remote MCP server, in beta, that Cursor, VS Code and Claude Code connect to. Three tools read and answer; a fourth rates an answer.

Checkable Citations

Every answer names the passages it rests on, so a reader can open the source and check it.

Frequently Asked Questions

Questions developers ask first

MITHUNAI runs a remote MCP server, in beta, at POST https://app.mithunai.com/mithunai/api/v1/mcp. Point Cursor, VS Code or Claude Code at that URL with an API key in an Authorization: Bearer header (MITHUNAI keys begin mithunai_sk_); there is nothing to install. The client gets three read-only tools, search_knowledge, ask_assistant and list_knowledge, and feedback, which rates an answer your key received.
No. The MCP server is a URL your client connects to, and everything else is plain HTTP under /mithunai/api/v1, with answers streamed as Server-Sent Events. Any language that can send an HTTP request can call it, and there is no package to install or keep up to date.
Production Readiness

Grounded answers from your own knowledge, a chat workspace for your team and one model gateway, on one account.

A 30-minute walkthrough on your own use case: connect a source, ask it questions, check the citations and see what it does when the answer is not there. Or ask the public playground now, with no account.