Skip to main content
Glama
mrfentmen

gopher-mcp

by mrfentmen
README.md
# gopher mcp

An MCP server that speaks the **Gopher protocol**, the pre HTTP internet, still running since 1991.

Gopher is a text menu protocol: you open a menu, it lists typed items (directories, text files, search services), and you navigate deeper. This server is a raw TCP Gopher client (port 70), no HTTP, no scraping.

## Why it's original

Nobody else has a Gopher client as an MCP tool. The AI can now surf gopherspace, Floodgap, SDF, Veronica search, and read documents that predate the web.

## Tools

| Tool | What it does |
|---|---|
| `open_menu` | Open a gopher menu and list its items (dirs, text, search, binaries) |
| `read_textfile` | Read a plain text file (gopher type 0) |
| `search_veronica` | Run a Veronica-2 search across gopherspace |

## Usage

```bash
npm run build && node dist/index.js
```

Example flow:

```
open_menu { host: "gopher.floodgap.com", selector: "/" }
search_veronica { host: "gopher.floodgap.com", query: "retro games" }
read_textfile { host: "gopher.floodgap.com", selector: "/0/floodgap/new" }
```

Default host is `gopher.floodgap.com` (Floodgap Systems, serving gopher since 1999, blocklist updated April 2026, ~81,000 Veronica matches indexed). All keyless, no auth.

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a distinct Gopher operation: browsing menus, reading text files, and searching. There is no overlap in purpose or selector types.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (open_, read_, search_) with descriptive nouns. The convention is uniform and predictable.

Tool Count5/5

Three tools is an appropriate size for a niche protocol like Gopher, covering the core interactions without unnecessary bloat.

Completeness4/5

Core Gopher workflows (browse, read, search) are covered. A minor gap is the lack of support for binary or other non-text item types, but for a text-focused MCP server this is acceptable.

Maintenance

ActivitySlowing
ResponsivenessNo issues