Trip2g logo

Trip2g

Self-hosted Markdown knowledge hub with MCP search, note reading, similarity, federation, and sourced answers.

Install Trip2g

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://trip2g.com/_system/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The trip2g MCP server exposes a Markdown-based knowledge hub to AI agents through MCP tools. It provides hybrid full-text and semantic search, note retrieval, similarity lookup, author-defined instructions, and federated queries across connected hubs. Notes remain plain Markdown, while SQLite stores hub data and version history. Reach for it when you want agents to query an Obsidian vault or self-hosted knowledge base without moving the source notes into an opaque vector store.

Use cases

  • Search an Obsidian vault from an MCP client
  • Read sourced Markdown notes for agent answers
  • Find notes similar to a reference note
  • Query knowledge across federated hubs
  • Self-host an agent-accessible documentation hub

Key features

  • Hybrid full-text and semantic search
  • Path- or identifier-based note reading
  • Similarity search
  • Federated MCP queries
  • Author-defined agent instructions
  • Plain Markdown storage with git history

Tools12

What Trip2g lets your agent do. Expand a tool for its parameters.

Verified live~4.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 76d

What it can do

From the 12 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 3Read-only tools · 12

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars43Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Tools exposed12Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Trip2g works

What trip2g MCP server does

The trip2g MCP server connects AI agents to a self-hosted collection of Markdown notes. A note contains frontmatter metadata and a body, and the same note can be rendered as a website page or accessed through MCP. This makes an Obsidian vault usable by both human readers and agent workflows.

The hub keeps notes on local disk and uses SQLite for its application data. Edits are recorded as note versions and mirrored to git, so the source remains a cloneable collection of readable Markdown files. Access to MCP calls is scoped according to the caller’s subscription or token permissions.

Use it when an agent needs answers grounded in your own notes, documentation, books, courses, or other Markdown-based material. The public service can be added to an MCP client by URL, while the project also supports running a private hub.

How it works

Agents connect to the hub’s MCP endpoint at /_system/mcp. The server searches the connected knowledge bases and returns note content or related notes for further use by the client. Search combines full-text and semantic retrieval, while answer sourcing comes from the notes returned by these calls.

A hub can also be connected to peer hubs. Federated calls fan a search, similarity request, or note read across those peers, subject to each hub’s access controls. Federation uses bounded depth and signed, short-lived tokens to limit recursive requests and authenticate calls.

Obsidian is one supported authoring workflow: edit notes, synchronize the vault, and expose the resulting content through the website and MCP endpoint. Notes can also trigger webhooks when they are created, updated, or removed, although those workflows are separate from the core read and search tools.

Setup and configuration

For a quick local deployment, clone the repository, enter its quickstart directory, and run docker compose up. The provided setup uses one container, local files, SQLite, and full-text search without requiring additional services. The local interface is available at http://localhost:8081; the quickstart README provides the initial sign-in details and a preconfigured Obsidian vault download.

You can instead connect an MCP client to the hosted endpoint at https://trip2g.com/_system/mcp. Self-hosting options also include running the Go binary, using Docker Compose behind TLS, or deploying with fly.io.

Tools and capabilities

The trip2g MCP server exposes these shipped MCP methods:

  • search for hybrid full-text and semantic search.
  • note_html for reading a note or section by identifier, path, or match.
  • similar for finding notes related to a given note.
  • federated_search, federated_similar, and federated_note_html for querying peer hubs.
  • instructions for retrieving an author-defined prompt for the agent.

Notes can define additional tools through frontmatter using mcp_method:. The hub also supports website rendering, subscriptions, Telegram publishing, forms, git access, and webhooks, but these are broader hub features rather than required steps for using MCP search and retrieval.

The trip2g MCP server is MIT licensed. Its core source format is plain Markdown, allowing operators to inspect edits, retain git history, and move the vault with standard clone, pull, and push operations.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Trip2g

trip2g is an MCP server that connects AI agents to self-hosted Markdown notes, including Obsidian vaults. Its main tools are hybrid search, note reading, similarity lookup, federated search and retrieval across peer hubs, and author-defined agent instructions. Notes remain available as files and can also power a website.

Run the repository’s quickstart with Docker Compose: clone it, enter `trip2g/quickstart`, and execute `docker compose up`. The setup starts a local hub on port 8081 with files on local disk, SQLite, and full-text search. Other documented options include a Go binary, Docker behind TLS, and fly.io.

Add the hub’s MCP URL, `https://trip2g.com/_system/mcp`, to the client’s MCP server configuration. For a private deployment, use the corresponding `/_system/mcp` endpoint on your self-hosted hub. The README presents this as a standard URL-based MCP connection.

Configure Cursor with the hosted or self-hosted `/_system/mcp` URL.

Yes, trip2g supports federated search across connected peer hubs. The federated tools fan out search, similarity, or note-reading requests while each hub applies its own access controls, depth limit, and signed short-lived request tokens.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTrip2g AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/trip2g?style=directory)](https://allmcps.com/mcp/trip2g)
HTML Embed
<a href="https://allmcps.com/mcp/trip2g"><img src="https://allmcps.com/api/badge/trip2g?style=directory" alt="Trip2g on AllMCPs" /></a>