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.
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-onlyReturns the passages that best match a query, each with a citation. It does not generate an answer.
ask_assistantread-onlyAsks an assistant and returns a grounded answer with citations, or an abstention when the sources do not support one.
list_knowledgeread-onlyLists 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?"}'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?"}'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.
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.
Every page begins with the direct answer and reproducible API example before discussing background context.
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
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.
Questions developers ask first
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.
