bigmac-mcp

bigmac-mcp

A small MCP server that turns a shared Ollama box into a team resource for Claude Code, providing typed tools and delegated read-only repo exploration using local models.

Category
Visit Server

README

bigmac-mcp

A small MCP server that turns a shared Ollama box into a team resource for Claude Code (or any MCP client): typed grunt-work tools plus delegated read-only repo exploration that runs an agent loop on the box's local models — so bulk reading and first-pass analysis burn zero frontier tokens.

Claude Code (your subscription, untouched)
   │  MCP over streamable HTTP  (:8434/mcp)
   ▼
bigmac-mcp (this server, runs on the Ollama box)
   ├── ask / summarize / classify / models / usage ──► Ollama (localhost:11434)
   └── explore_start / explore_status / explore_result
          └── spawns `opencode run --agent explore` in a synced workspace:
              read-only file tools, step-capped, local model, cited synthesis

Tools

Tool What it does
ask(prompt, model?, think?, system?) One-shot generation on the local model
summarize(text, style?) Summarize text locally
classify(items[], labels[]) Bulk classification, JSON-validated
models() Live model inventory + Ollama version
usage() Token accounting since daemon start (what stayed off your cloud budget)
explore_start(workspace, question, model?) Start a delegated exploration job → job id
explore_status(job_id) / explore_result(job_id) Poll / fetch the cited synthesis
workspaces() List synced workspaces

Delegated exploration

Jobs run OpenCode headless with a custom read-only agent (opencode.json): edit/bash/webfetch/external_directory denied, step cap, --dir jailed to the workspace, reasoningEffort: "none" so thinking models don't burn minutes per step. Results must cite file:line — treat them as a draft map and verify citations before relying on them.

Workspaces are plain directory snapshots under ~/delegate/workspaces/<name> (ship them with tar | ssh, rsync, or similar — by design the server never pulls from your VCS and holds no repo credentials). Snapshots auto-purge after 7 days; each job git inits the workspace if needed (OpenCode roots its jail at a VCS marker).

Run it

Requires uv and, for exploration, the OpenCode binary on PATH.

uv sync
uv run python -m bigmac_mcp.server     # streamable HTTP on 0.0.0.0:8434/mcp

Connect a client:

claude mcp add --transport http bigmac http://<host>:8434/mcp

Configuration (env vars): OLLAMA_URL (default http://localhost:11434), MCP_HOST/MCP_PORT (default 0.0.0.0:8434), DELEGATE_ROOT (default ~/delegate), OPENCODE_BIN, EXPLORE_WALL_SECONDS (default 900).

For production on macOS, run it as a LaunchDaemon (KeepAlive, logs + newsyslog rotation) — see com.bigmac.mcp.plist in our infra repo for the pattern.

⚠️ Security model — read this

The server has no authentication and binds all interfaces. It is designed for a trusted LAN/tailnet where everyone with network access is already trusted (in our case, the same people who hold the box's SSH key). Anyone who can reach the port can run generations and read synced workspaces. Do not expose it to untrusted networks; put a reverse proxy with auth in front if you need one.

Never sync secrets into workspaces — filter with .gitignore semantics plus a deny-list (.env*, *.pem, *.key, id_*, …) on the client side.

License

MIT — see LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured