Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZIM_DIRNoDirectory containing ZIM files to serve. If not set, ZIM files can be specified as command-line arguments.

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
list_librariesA

Inventory the ZIM archives this server can read.

Returns a list of archives with their kind (wikipedia / mdwiki / streetzim / generic), metadata, and the aggregate capabilities exposed (e.g. plan_route is only present when a streetzim ZIM is loaded). Call this first so you know what sources and tools are available.

searchB

Full-text search across all loaded ZIMs.

Args: query: search terms. limit: max results per ZIM (default 10). kind: optional filter, one of wikipedia, mdwiki, streetzim, generic.

Each hit includes the source ZIM, path, title and a short snippet.

get_articleA

Fetch a single article by path, as plain text ready for reading.

Args: path: the ZIM entry path (as returned in search results, e.g. A/Aspirin). zim: optional filename or path of the ZIM to read from. If omitted, all loaded ZIMs are tried in scan order.

get_main_pageB

Fetch the main/home page of a ZIM. If no zim name is given, returns the main page of every loaded ZIM.

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/jasontitus/mcpzim'

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