Skip to main content
Glama
Alpha-W0lf

AI Knowledge Base MCP Server

by Alpha-W0lf

AI Knowledge Base

Keep coding agents current with local hybrid RAG + MCP.

Public demo uses synthetic fixtures; the architecture is the product.

Sources → transcripts → RAG + MCP → agents

The problem

AI techniques move weekly. Coding agents that only “know” last quarter’s defaults fall behind. Teams need a local, citable knowledge path — retrieve what matters, cite sources, and expose tools agents can call — without shipping a private corpus to the public internet.

How it works

flowchart LR
  F[Fixtures / sources] --> I[Ingest + embed]
  I --> D[(LanceDB)]
  Q[Query] --> S[Hybrid search]
  D --> S
  S --> M[CLI / MCP tools]
  M --> A[Coding agents]
  1. Ingest documents (committed fixtures for the public demo).

  2. Embed locally (Ollama nomic-embed-text).

  3. Retrieve with vector + keyword fusion, optional cross-encoder.

  4. Serve results via CLI and read-only MCP tools (search, discover, get_context, get_status).

Key engineering decisions

  1. Hybrid fusion before cross-encoder — the retrieval spine stays useful if the reranker degrades or is disabled.

  2. Public fixtures / private corpus split — strangers get a working demo; personal tip libraries stay off this repo.

  3. MCP read-only by default — mutations stay behind an explicit private profile flag.

Try it

uv sync
ollama pull nomic-embed-text
uv run python -m src.ingest --fixtures
uv run python -m src.search "reciprocal rank fusion RRF" --hybrid --db data/lancedb
uv run python -m src.eval

MCP wiring, discovery commands, and optional BYO YouTube overlay: GETTING_STARTED.md.

Stack

Component

Tool

Vector + FTS

LanceDB

Embeddings

Ollama · nomic-embed-text @ 768

Rerank (optional)

MiniLM cross-encoder (degrades to fusion)

Agent surface

MCP (public profile = read-only)

Deeper docs

Building agent knowledge systems? Reach me on LinkedIn.

Available Tools

4 tools
discoverB

Discover AI content without a specific query (honest browse/digest/heuristics).

Modes: random, digest, concepts, channels — not a ranking product.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNo
modeNodigest
limitNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, and the description only hints at behavior with 'honest browse/digest/heuristics' without explaining modes, limitations, or auth needs. Lacks detail on how the tool works.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very short and minimal, but contains key purpose and mode list. Could be better organized, and brevity sacrifices parameter description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite output schema existing, description omits what the tool returns or how the modes behave. With 3 parameters and no annotations, more context is needed for correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and description only lists mode options without explaining their meanings, nor does it describe days or limit parameters. Minimal information beyond schema defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool discovers AI content without a specific query, lists modes, and contrasts with ranking products. This effectively distinguishes it from siblings like search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage when no specific query is needed, but does not explicitly state when not to use it or name alternatives. The sibling search would be for queries, but no direct contrast.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_contextC

Get comprehensive context via shared retrieval (+ optional recent digest).

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes
include_recentNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose behavior. It mentions 'comprehensive context' and 'optional recent digest' but does not describe side effects, performance implications, or what happens on missing data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with the primary action, no wasted words. It is appropriately concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With two parameters and no annotations, the description lacks depth. It does not explain output, error conditions, or how this tool differs from siblings like search. The agent needs more context to decide when to use it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explicitly describe the parameters. The mention of 'recent digest' hints at include_recent, but query is not explained. The description adds minimal value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves context via shared retrieval with an optional recent digest. It distinguishes from siblings like search and discover by specifying 'context' and 'shared retrieval', though the exact meaning of 'shared retrieval' is vague.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like search or discover. It does not mention prerequisites or scenarios where this tool is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_statusA

Get current status of the AI knowledge base.

Does not require embedding / Ollama for index stats (Ollama health is reported).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, but the description discloses that it does not require embedding/Ollama for index stats and reports Ollama health, which are important behavioral traits beyond a simple status check.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with purpose, and includes necessary nuance about dependencies. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with an output schema, the description adequately explains what the tool returns and the key nuance about Ollama. It is complete enough for an agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so the schema provides all needed info. The description adds no parameter details, but with 0 parameters, the baseline is 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'current status of the AI knowledge base', and distinguishes itself from siblings by noting the Ollama dependency details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for checking status but does not explicitly state when to use or when alternatives like search or discover are better. The sibling tools are different, but no direct guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv0.1.0
    • First observeddiscover
    • First observedget_context
    • First observedget_status
    • First observedsearch

TDQS

B3.2/5.0
Disambiguation4/5

Each tool has a distinct purpose: discover for exploration, search for query-based retrieval, get_context for comprehensive context, and get_status for system health. However, get_context and search may cause slight confusion as both involve retrieval.

Naming Consistency3/5

Tool names are verbs but mix single-word (discover, search) and verb_noun patterns (get_context, get_status). This inconsistency could be improved by normalizing to a single pattern.

Tool Count4/5

Four tools is a minimal but reasonable set for a knowledge base query interface. It covers core functions without bloat, though it could be expanded slightly for more granularity.

Completeness3/5

The toolset focuses on reading and exploration but lacks write operations (e.g., add, update, delete content). This may hinder agents needing to modify the knowledge base.

Maintenance

ActivityActive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables AI agents to query a local knowledge graph built from document collections using hybrid search (BM25 + vector fusion) and entity-relationship extraction. Supports privacy-first, offline operation with tools for semantic search, entity graph exploration, and corpus statistics.
    3
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Hybrid semantic search (dense vector + BM25) over local knowledge bases and codebases, exposed as MCP tools for AI agents to search and list knowledge bases.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Read-only local-first MCP server enabling AI assistants to semantically search private Markdown, PDF, and Tika-backed knowledge bases without data upload.
    45
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables coding agents to query local notes, decisions, docs, and code with hybrid retrieval (BM25 + embeddings + reranking) and get path:line citations. It provides tools like rag_query for full-corpus search and search_knowledge for project-scoped knowledge recall.
    2
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alpha-W0lf/ai-knowledge-base-public'

If you have feedback or need assistance with the MCP directory API, please join our Discord server