Context7 MCPサーバー
コミット 2026年11月11日AIクライアントがライブラリの識別子を解決し、HTTPストリーミング経由で最新のライブラリドキュメントを検索できるようにします。
別名 lrstanley/context7-http
- スター
- 23
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
Context7 MCPとは
AIクライアントがライブラリの識別子を解決し、HTTPストリーミング経由で最新のライブラリドキュメントを検索できるようにします。
プロジェクトのREADMEから生成された概要
Context7 MCP server について
context7-httpは、AIクライアントを通じて最新のライブラリドキュメントを取得し、識別子を解決することを可能にします。このサーバーはHTTPストリーミングをサポートしており、開発者はローカルにインストールすることなく、どこからでもサービスを利用できます。Context7プロジェクトと連携し、技術情報へのリアルタイムなアクセスを提供するために設計されています。
ユーザーは、MCP設定でサーバーURLを構成することで、CursorやVS Codeなどのエディタからリモートエンドポイント経由で接続できます。自身のインスタンスをホストしたい場合は、Dockerコンテナイメージを使用してデプロイするか、バインドアドレスやハートビート間隔を指定する特定のフラグを用いてコマンドラインから直接実行できます。主なツールとして、ライブラリを特定するためのresolve-library-uriと、ドキュメントの内容を取得するためのsearch-library-docsの2つを提供します。
できること
- 1特定のライブラリURIの特定AIクライアントがこのサーバーを使用して、特定のソフトウェアライブラリの正しい識別子を見つけることができます。
- 2リモートでのMCPデプロイローカルの依存関係を一切インストールすることなく、開発環境でこのサーバーを使用できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能lrstanley/context7-http is public and reachablegithub.com/lrstanley/context7-http ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-11github.com/lrstanley/context7-http ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見る: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.
- HTTP
streamablesupport. - Provides
resolve-library-uriandsearch-library-docstools for finding libraries, and searching their documentation.
[!WARNING] This server utilizes the
v1variant of the Context7 API, which may eventually be removed by the Context7 team. Note that thev2API requires API keys, is drastically more ratelimited, and expanded use does require paying. See here.
: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- HTTPstreamableendpoint.
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"
}
}
}
:whale: Container Images (ghcr)
$ docker run -it --rm ghcr.io/lrstanley/context7-http:master
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.5.1
$ docker run -it --rm ghcr.io/lrstanley/context7-http:latest
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.5.0
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.4.0
$ docker run -it --rm ghcr.io/lrstanley/context7-http:0.3.0
$ 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 <liam@liam.sh>
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
Context7 MCPのよくある質問
Context7 MCP serverはどのようなツールを提供しますか?
resolve-library-uri(ライブラリの検索)とsearch-library-docs(ドキュメントの検索)の2つのツールを提供します。
context7-httpを使用するために何かをインストールする必要がありますか?
いいえ、ホストされたHTTPストリーミングサーバーとして動作するため、ローカルに何もインストールすることなく、クライアントからURLを指定するだけで利用可能です。
サーバーはどのエンドポイントを公開していますか?
/mcp にHTTP streamableエンドポイントを公開しています。CursorやVS Codeなどのクライアントで、サーバーURLとしてこれを設定してください。
context7-httpにAPIキーは必要ですか?
いいえ、APIキーを必要としないv1 Context7 APIを使用しています。ただし、このバージョンは将来的に削除される可能性があります。
context7-httpをセルフホストすることはできますか?
はい、バインドアドレス、ベースURL、信頼できるプロキシ、ハートビート間隔を指定するフラグを使用して自身で実行するか、提供されているコンテナイメージを使用できます。