Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OLLAMA_HOSTNoOllama endpointhttp://localhost:11434
SQLITE_RAG_DBNoIndex database path~/.local/share/sqlite-rag-mcp/index.db
SQLITE_RAG_EMBED_MODELNoEmbedding modelnomic-embed-text
SQLITE_RAG_CHUNK_TOKENSNoChunk size (approx. tokens)800
SQLITE_RAG_CHUNK_OVERLAPNoChunk overlap (approx. tokens)100

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
index_documentsA

Index text/markdown files from a directory into the local SQLite index.

Args: path: Directory to index (absolute or ~-expanded). glob: Glob pattern relative to the directory (default '/*.md'). Use e.g. '/.txt' or '**/' for other text files.

searchA

Search the indexed documents.

Args: query: Natural-language query or keywords. k: Number of results to return (1-50, default 8). mode: 'hybrid' (RRF fusion of semantic + lexical, default), 'semantic' (vector KNN only), or 'lexical' (FTS5 BM25 only). If Ollama is offline, hybrid/semantic fall back to lexical and a warning is included in the response.

get_chunkA

Fetch the full text and source of a chunk returned by search.

statsB

Index statistics: document/chunk/embedding counts and configuration.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/giuseppeferretti/sqlite-rag-mcp'

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