MCP ExplorerExplorer

Context7 Http

@lrstanleyon a year ago
7 MIT
FreeCommunity
AI Systems
#llm#mcp#mcp-server#vibe-coding
Context7 MCP Server (with HTTP SSE)

Overview

What is Context7 Http

context7-http is a Context7 MCP Server that supports HTTP Server-Sent Events (SSE), enabling real-time data streaming from the server to the client.

Use cases

Use cases for context7-http include implementing live sports scores, stock market updates, and collaborative tools where users need to see changes as they happen.

How to use

To use context7-http, set up the server by following the installation instructions in the README. You can then create endpoints that utilize SSE to push updates to clients in real-time.

Key features

Key features of context7-http include support for HTTP SSE, easy integration with existing applications, and a focus on real-time data delivery.

Where to use

context7-http is ideal for applications that require real-time updates, such as live notifications, chat applications, and dashboards that display dynamic data.

Content

logo

:link: Table of Contents

:sparkles: Features

context7-http is a MCP server that supports HTTP streaming for the Context7 project.
This allows you to utilize the MCP server from anywhere, without installing anything locally.

  • Has current feature parity with the existing Context7 MCP Server.
  • SSE and HTTP streamable support.
  • Provides resolve-library-uri and search-library-docs tools for finding libraries, and searching their documentation.
  • Provides multiple resources, including:
    • context7://libraries - returns high-level information about all libraries.
    • context7://libraries/<project> (TODO: not fully functional in upstream SDK)
    • context7://libraries/top/<n> - returns the top n libraries, sorted by trust score (if available), otherwise by stars.
  • Currently utilizing mcp-go, however, will be replaced with the official Go MCP sdk in the future.

:gear: Usage

If you’d like to run context7-http yourself, use the following:

$ context7-http \
    --debug \
    --bind-addr "0.0.0.0:8080" \
    --base-url https://context7.your-domain.com \ # only needed if using sse, http streamable doesn't need this
    --trusted-proxies "x-forwarded-for,10.0.0.0/8" \ # if behind a reverse proxy
    --heartbeat-interval 55s # for those with spotty networks or annoying network proxies

For all examples below, replace context7.liam.sh with your own MCP server URL, if you’re running your own instance.

Configured endpoints:

  • https://context7.liam.sh/mcp - HTTP streamable endpoint.
  • https://context7.liam.sh/sse (& /message) - SSE endpoint (NOTE: SSE is considered deprecated in the MCP spec).

Other than swapping out the mcpServer block (or similar, depending on your client), usage should match that of the
official Context7 documentation

VSCode, Cursor, etc

Cursor MCP docs, and
VS Code MCP docs for more info.

{
  "mcpServers": {
    "context7": {
      "url": "https://context7.liam.sh/mcp"
    }
  }
}

Install in Windsurf

Add this to your Windsurf MCP config file. See Windsurf MCP docs for more info.

{
  "mcpServers": {
    "context7": {
      "url": "https://context7.liam.sh/mcp"
    }
  }
}

Install in Zed

Add this to your Zed settings.json. See Zed MCP docs for more info.

{
  "context_servers": {
    "context7": {
      "url": "https://context7.liam.sh/mcp"
    }
  }
}

Install in Claude Code

Run this command. See Claude Code MCP docs for more info.

claude mcp add --transport sse context7 https://context7.liam.sh/sse

Install in Claude Desktop

Add this to your Claude Desktop claude_desktop_config.json file. See Claude Desktop MCP docs for more info.

{
  "mcpServers": {
    "context7": {
      "url": "https://context7.liam.sh/mcp"
    }
  }
}

Install in BoltAI

BoltAI MCP docs.

:whale: Container Images (ghcr)

$ docker run -it --rm ghcr.io/lrstanley/context7-http:master
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.3.0
$ docker run -it --rm ghcr.io/lrstanley/context7-http:latest
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.2.0
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.1.0

:books: References


:raising_hand_man: Support & Assistance

  • :heart: Please review the Code of Conduct for
    guidelines on ensuring everyone has the best experience interacting with
    the community.
  • :raising_hand_man: Take a look at the support document on
    guidelines for tips on how to ask the right questions.
  • :lady_beetle: For all features/bugs/issues/questions/etc, head over here.

:handshake: Contributing

  • :heart: Please review the Code of Conduct for guidelines
    on ensuring everyone has the best experience interacting with the
    community.
  • :clipboard: Please review the contributing doc for submitting
    issues/a guide on submitting pull requests and helping out.
  • :old_key: For anything security related, please review this repositories security policy.

:balance_scale: License

MIT License

Copyright (c) 2025 Liam Stanley <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Also located here

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers