expert-mcp-server
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., "@expert-mcp-server deep search for quantum computing breakthroughs"
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.
expert-mcp-server
MCP server for expert-service knowledge bases. Lets any MCP-compatible agent query beliefs, search documents, and explore reasoning chains.
Install
uv tool install git+https://github.com/benthomasson/expert-mcp-serverRelated MCP server: lightrag-mcp
Configure
Create a .expert.toml in your project root:
url = "https://expert.ftl2.com"
project = "your-project-name"
api_key = "your-api-key"Or set environment variables: EXPERT_URL, EXPERT_API_KEY, EXPERT_PROJECT.
Global config can also go in ~/.config/expert/config.toml under [default].
Usage
Claude Code
claude mcp add expert-service -- expert-mcp-serverClaude Desktop / other MCP clients
Add to your MCP config:
{
"mcpServers": {
"expert-service": {
"command": "expert-mcp-server"
}
}
}Or run from source:
{
"mcpServers": {
"expert-service": {
"command": "uvx",
"args": ["--from", "git+https://github.com/benthomasson/expert-mcp-server", "expert-mcp-server"]
}
}
}Tools
Tool | Description |
| Dual-path retrieval across beliefs and source documents with IDF ranking. Sub-second, no LLM call. Start here. |
| LLM-synthesized answer grounded in the knowledge base. |
| Full-text search across beliefs, entries, and source documents. |
| Trace why a belief is IN or OUT through its justification chain. |
| Simulate retracting or asserting a belief to see the cascade. |
| Full details for a specific belief including justifications. |
| List beliefs filtered by status (IN/OUT). |
| List available expert knowledge bases. |
| List analysis entries (reports, findings). |
| Read the full content of an entry. |
All tools accept an optional project parameter. If omitted, the default project from config is used.
License
MIT
Available Tools
10 toolsaskA
Ask a question and get an LLM-synthesized answer grounded in the knowledge base.
Uses the server's LLM to synthesize an answer from beliefs and source documents. Slower than deep_search but returns a ready-to-use answer.
Args: question: The question to ask project: Project name or UUID (uses default if empty)
Inputs: question (required), project. Returns: result
deep_searchA
Search beliefs and source documents with IDF-ranked results. No LLM call, sub-second response.
This is the recommended search tool. It runs dual-path retrieval across the belief network and source document chunks, returning pre-ranked context ready for synthesis. Use this instead of calling search + list_beliefs + get_entry separately.
Args: query: The question or search terms project: Project name or UUID (uses default if empty)
Inputs: query (required), project. Returns: result
explain_beliefA
Explain why a belief is IN or OUT by tracing its justification chain.
Shows what supports this belief, what assumptions it rests on, and what would change if it were retracted.
Args: node_id: The belief ID to explain project: Project name or UUID (uses default if empty)
Inputs: node_id (required), project. Returns: result
get_beliefA
Get full details for a specific belief including justifications and dependents.
Args: node_id: The belief ID project: Project name or UUID (uses default if empty)
Inputs: node_id (required), project. Returns: result
get_entryA
Read the full content of an analysis entry.
Args: entry_id: The entry ID project: Project name or UUID (uses default if empty)
Inputs: entry_id (required), project. Returns: result
list_beliefsB
List beliefs in the knowledge base.
Args: status: Filter by truth value -- "IN", "OUT", or empty for all project: Project name or UUID (uses default if empty)
Inputs: status, project. Returns: result
list_entriesB
List analysis entries (reports, findings, assessments).
Args: topic: Filter by topic slug, or empty for all entries project: Project name or UUID (uses default if empty)
Inputs: topic, project. Returns: result
list_projectsA
List all available expert knowledge bases with belief, entry, and source counts.
Inputs: no named parameters. Returns: result
searchB
Full-text search across beliefs, entries, and source documents.
Returns matching beliefs (with IN/OUT truth values), entry titles, and source chunk snippets.
Args: query: Search terms project: Project name or UUID (uses default if empty)
Inputs: query (required), project. Returns: result
what_ifA
Simulate retracting or asserting a belief without modifying the database.
Shows the cascade: which beliefs would go OUT (retract) or come back IN (assert). Use this to understand the impact of changing a belief.
Args: node_id: The belief ID to simulate action: "retract" or "assert" project: Project name or UUID (uses default if empty)
Inputs: node_id (required), action, project. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools are clearly distinct, but 'ask' and 'deep_search' both involve answering questions, though their descriptions clarify different use cases. Slight overlap is mitigated by clear purpose statements.
Names predominantly follow verb_noun pattern with underscores (e.g., explain_belief, list_entries). Exceptions like 'ask' and 'what_if' are idiomatic but not disruptive.
10 tools cover the core operations for a knowledge base server: searching, retrieving, listing, explaining, and simulating. The count is well-scoped without redundancy.
The tool surface covers querying and simulation comprehensively, but lacks tools for creating or updating beliefs/entries. This may be intentional for a read-only expert server, hence a minor gap.
Related MCP Connectors
Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.
Make your knowledge agent-ready. One MCP endpoint, 5 connectors, 3 search modes.
Agentic search over your Dewey document collections from any MCP-compatible client.
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and manage a document knowledge base via MCP, with RAG-powered search and grounded answers with citations.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query a persistent LightRAG knowledge base through any MCP client, offering both ready-made answers with source links and raw context retrieval for custom response generation.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM agents to query a structured knowledge library for search, explanations, related concepts, learning paths, examples, and cross-domain references via MCP.Apache 2.0
- AlicenseAqualityCmaintenanceEnables coding agents to query a team knowledge base via MCP, performing semantic search and asking questions that return grounded, citation-backed answers from ingested documents.4MIT