{"slug": "show-hn-port-of-context-token-efficient-mcp-context-layer", "title": "Show HN: Port of Context – Token efficient MCP context layer", "summary": "Patrick launched Port of Context, an open-source context layer that routes agent searches over company knowledge and MCP tool calls through a single gateway using a \"code mode\" runtime, with the stated goal of reducing \"cost to resolution\" for agent tasks. The system builds a context map of people, teams and systems on the OKF open standard, layers hybrid keyword and semantic search over unstructured text, and is distributed via the GitHub repo portofcontext/pctx; the author cites a Goose code-mode case study and a tau-bench benchmark as evidence it works. Setup is handled by pasting pctx.ai/onboard.md into a coding agent, which creates an account, scans active MCP connections and configures the gateway.", "body_md": "Hi HN, I'm working on a context layer built on OSS and open standards that lets agents search your company knowledge and use MCP tools all through a single gateway with code mode. Building this because we believe context can and should be portable across harnesses.\n\nThe metric we are solving for here is \"cost to resolution\". Given any question or a task, how quickly and cheaply can we put an agent on the correct path. Tech behind that:\n\n1. Context map: software to create and maintain a context map of people, teams, systems, relationships, etc. It's built on OKF, import/export from this open standard.\n\n2. Code mode: agents explore the map with a token efficient context eng. method (open source runtime, find portofcontext/pctx on GitHub)\n\n3. Indexing: Hybrid keyword and semantic search on any unstructured text, with code mode on top (we will open source this part soon, although it's nothing special, the interesting part is placing content in the map and putting code mode on it)\n\nSome proof that it works:\n\n1. Goose + code mode: [https://aaif.io/blog/how-port-of-context-eliminated-producti...](https://aaif.io/blog/how-port-of-context-eliminated-production-agent-failures)\n\n2. tau-bench: [https://portofcontext.com/blog/context-layer-platform-benchm...](https://portofcontext.com/blog/context-layer-platform-benchmark) With Port of Context\n\nTo try it, paste this into your coding agent: Set up pctx.ai/onboard.md\n\nIt will help you create an account, scan your active MCP connections, and help configure the gateway.\n\nHope you find this useful and feel free to reach out: patrick@portofcontext.com\n\nComments URL: [https://news.ycombinator.com/item?id=50487905](https://news.ycombinator.com/item?id=50487905)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-port-of-context-token-efficient-mcp-context-layer", "canonical_source": "https://portofcontext.com", "published_at": "2026-11-13 18:43:40+00:00", "updated_at": "2026-11-13 18:49:57.306331+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "ai-search", "developer-tools"], "entities": ["Port of Context", "Patrick", "pctx", "OKF", "Goose", "tau-bench", "GitHub", "MCP"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-port-of-context-token-efficient-mcp-context-layer", "markdown": "https://wpnews.pro/news/show-hn-port-of-context-token-efficient-mcp-context-layer.md", "text": "https://wpnews.pro/news/show-hn-port-of-context-token-efficient-mcp-context-layer.txt", "jsonld": "https://wpnews.pro/news/show-hn-port-of-context-token-efficient-mcp-context-layer.jsonld"}}