Biel AI
This server connects AI assistants to technical documentation indexed in a Biel.ai project, so they can search docs and generate cited answers.
Generate answers with
biel_ai: ask a question about code, SDKs, or documentation and get a response drawn from your indexed sources.Continue conversations: pass
chat_uuid(per the schema) orconversation_id(per the README) to keep context across calls; omitting it starts a new chat.Retrieve context:
biel_searchruns hybrid keyword + semantic search over web pages, uploaded files, repositories, and OpenAPI sources (default 5 chunks, max 20).Read full documents:
biel_get_documentreturns the complete indexed text of adocument_idfrom search, with source links and citations.Scope and authenticate: optional
domainfor allowed-domain projects,api_keyfor private projects, andmetadatato tag the conversation source.
Note: the provided schema exposes only the biel_ai tool, so search and document retrieval may not be available in this deployment.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Biel AI what are the authentication requirements for the billing API?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Biel.ai turns technical documentation into answers for users and context for AI agents, with links back to the sources. This MCP server connects Claude Code, Codex, Cursor, and other compatible clients to documentation indexed in a Biel.ai project.
The usual workflow is to search for relevant content, retrieve indexed documents when more context is needed, and answer in the calling AI assistant. Biel.ai can also generate an answer when you explicitly request one. Check the retrieved content and references when using a generated answer.

Requires a Biel.ai account, indexed sources, and hosted MCP enabled on a plan that includes it. Create an account and follow the MCP setup guide.
Getting started
1. Enable MCP and copy your endpoint
Open your project in Biel.ai, go to Settings > MCP, enable the MCP server, and save. Copy the complete endpoint supplied for your project.
2. Connect your AI client
Use the canonical documentation for client-specific steps:
For Claude Code and Codex, use the manual setup guide and your client's HTTP configuration format.
For Cursor and VS Code / Copilot, use the widget's Connect menu or the manual setup guide.
The example configuration uses mcp-remote as a bridge for clients without native Streamable HTTP support. Clients with native HTTP support should connect directly using their own configuration format.
3. Verify retrieval
Confirm the client discovers biel_search, biel_get_document, and biel_ai. Ask a question your indexed documentation covers:
Use biel_search to find our API authentication instructions. Read relevant
results with biel_get_document and explain the required headers with source links.Check the retrieved text and citations against the documentation. MCP serves indexed content; refresh sources in Biel.ai after documentation changes and search again for current document IDs.
Related MCP server: local_lense
Choose generated answers or search
The server exposes three tools:
biel_ai: ask Biel.ai to generate an answer, with conversational context. Existing calls usingmessagecontinue to generate answers.biel_search: hybrid keyword and semantic search over indexed web pages, uploaded files, repositories and OpenAPI sources, without answer generation.biel_get_document: read the complete indexed text of a document returned by search.
Call biel_search with a natural-language question or search terms:
{"query": "How do I authenticate with the SDK?", "limit": 5}Search requests the API's search_type=hybrid&source_types=all. The REST API defaults to search_type=keyword, independently of the selected sources. Results include chunk text, source type, a document_id, and any page or sheet reference. Documents without a URL are cited by title and location. The limit argument controls how many chunks are returned (default 5, maximum 20).
Use biel_get_document with a search result's document_id to read the complete indexed document without visiting its source site:
{"document_id": "DOCUMENT_ID_FROM_SEARCH", "limit": 20}Continue a generated conversation
Streamable HTTP clients using MCP protocol 2025-11-25 or earlier continue the same biel_ai chat within a connection. The client sends the Mcp-Session-Id returned during initialization automatically. Reconnecting starts a new conversation.
Clients using protocol 2026-07-28 do not initialize a session. Call biel_ai without conversation_id to start a conversation:
{"message": "How do I authenticate with the SDK?"}The result includes an opaque conversation ID in its text and in structuredContent.conversation_id. Pass that value on the next call:
{"message": "Can I rotate that credential?", "conversation_id": "CONVERSATION_ID_FROM_PREVIOUS_RESULT"}Use the same project endpoint, API key and Biel backend. Omitting conversation_id starts a new conversation. An expired or invalid identifier returns a tool error. Search and document reads do not create or change a conversation.
Conversation state expires after 15 minutes of inactivity with the default timeout. Self-hosted servers retain it for the configured read timeout plus five minutes. Treat a conversation ID as a private identifier. Never supply an API chat UUID or a restore token.
Troubleshooting
Public projects do not need an API key. Private projects require an api_key query parameter with search permission for retrieval and chats_create for generated answers.
A domain query parameter is needed when allowed domains are configured. See connection parameters before connecting a private or domain-restricted project. Treat a URL containing a key as a credential and keep it out of shared configuration.
Self-hosting (optional)
Use Python 3.10 or later. The server uses MCPServer from the official Python MCP SDK 2.3.
Streamable HTTP is available at /mcp/PROJECT_SLUG and /v2/PROJECT_SLUG/mcp. Existing hosted endpoint configurations continue to work. Legacy SSE remains available at /sse?project_slug=PROJECT_SLUG. Its client follows the /messages/ endpoint announced by the server.
Run standalone SSE with one process. Its live connection belongs to that process. For an HTTP deployment with multiple workers, provide shared session and conversation storage through the application factory. The Django integration uses its shared cache. The standalone default stores this state in memory, so restarting it loses conversations.
Local development
# Clone and run locally
git clone https://github.com/TechDocsStudio/biel-mcp
cd biel-mcp
pip install .
biel-mcpInstall the test dependencies and run the package tests:
pip install '.[test]'
python -m unittest discover -s tests -vUse as a Python package
Applications that host their own ASGI stack can install a released revision and import its ASGI application:
pip install "biel-mcp @ git+https://github.com/TechDocsStudio/biel-mcp.git@VERSION"from biel_mcp.server import appUse create_app() from the same module for an independent application instance. Pass store and conversation_store for shared state, api_base_url for the backend origin, and enable_sse=False when serving only Streamable HTTP.
Uvicorn starts the application's ASGI lifespan automatically. When mounting it inside another ASGI application, the host must enter app.router.lifespan_context(app) during startup and exit it during shutdown. Mounting an HTTP subapplication does not start its resources automatically.
Set BIEL_BASE_URL to select your Biel backend when running the CLI. BIEL_ALLOWED_BASE_URLS is a comma-separated list of backend origins the operator allows. A client-supplied base_url must match that list. BIEL_MCP_READ_TIMEOUT_SECONDS sets the upstream read timeout, with a default of 600 seconds.
Docker deployment
# Docker Compose (recommended)
docker compose up -d --build
# Or Docker directly
docker build -t biel-mcp .
docker run -d -p 7832:7832 biel-mcpSupport
Issues: GitHub Issues
Contact: support@biel.ai
Custom Demo: Book a demo
Available Tools
1 toolbiel_aiC
Query Biel.ai's specialized AI about code, SDKs and documentation
Inputs: message (required), domain, api_key, metadata, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no ambiguity between tools. The tool's description clearly states its purpose, making selection straightforward.
The single tool name 'biel_ai' is clear and consistent with the server name. No pattern inconsistencies are possible with only one tool.
A single tool is on the low end, feeling thin for a server that might expect to offer more capabilities. It is not trivial, but the number is borderline and may be insufficient for broader use cases.
The tool covers the basic need of querying the specialized AI. However, there may be missing operations such as managing sessions or retrieving context, which could be expected in a full-featured AI interface.
Maintenance
Related MCP Connectors
Ask your own documents and get answers that cite the source passage. Workspace knowledge bases over MCP for Cursor, Claude and any MCP client.
Connect Claude, Cursor, or ChatGPT to your business data. Ask questions, get answers.
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server that gives AI coding agents on-demand access to private project docs via BM25 ranked search. One setup for Claude Code, Cursor, Codex, Gemini CLI, and more. Docs stay private, never in public repos.1517Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA local RAG-powered documentation search system that uses vector embeddings and Qdrant to enable semantic search across markdown, HTML, and other file formats. It provides an MCP interface for AI tools like Cursor to intelligently query and retrieve information from local knowledge bases.MIT
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server that provides up-to-date documentation for enterprise and development tools directly to AI coding assistants like Claude Code and Cursor.MIT
- FlicenseCqualityDmaintenanceProvides RAG (Retrieval-Augmented Generation) capabilities via Contextual AI, enabling query processing and context-aware responses with citations. Integrates with MCP clients like Cursor IDE and Claude Desktop.1-