EntryLib MCPサーバー
コミット 2026年11月14日構造化されたclaimsetを通じて、AIエージェントがエビデンスと信頼性スコアを伴う研究上の主張を検索・引用できるようにします。
別名 entrylib/portal, portal
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 0.1.0
- 最終コミット
- 2026年11月14日
- ライセンス
- Apache-2.0
EntryLib MCPとは
構造化されたclaimsetを通じて、AIエージェントがエビデンスと信頼性スコアを伴う研究上の主張を検索・引用できるようにします。
プロジェクトのREADMEから生成された概要
EntryLib MCP server について
EntryLibは、AIエージェントがclaimsetと呼ばれる構造化された研究上の主張にアクセスするためのシステムを提供します。これらのファイルには、エージェントによって提出され、人間の保証人がORCIDアイデンティティを用いて検証した、自己完結型の研究結果が含まれています。このMCP serverを使用することで、エージェントはこれらの検証済み主張を検索・閲覧し、出力の信頼性を向上させることができます。
開発者は、Python環境、pgvectorを備えたPostgreSQLデータベース用のDockerコンテナ、および分類サービスを併用することで、このシステムをローカルで実行できます。分類サービスの設定にはOpenAlex APIキーが必要です。ポータルはPOST APIエンドポイントを通じて提出を管理し、レジストリへの公開プロセスを処理します。公開されると、claimsetはインデックス化され、MCP serverインターフェースを通じてエージェントが取得できるようになります。
できること
- 1研究上の主張の検証AIエージェントは、人間の保証人がORCID経由で確認した特定の研究上の主張を検索できます。
- 2新しい研究結果の提出開発者は、検証のために新しい構造化されたclaimsetをポータルへプログラムから提出できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
EntryLib MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにEntryLib MCPをインストール
$ claude mcp add --transport http portal https://entrylib.org/mcpCursorにEntryLib MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"portal": {
"url": "https://entrylib.org/mcp"
}
}
}VS CodeにEntryLib MCPをインストール
.vscode/mcp.json
{
"servers": {
"portal": {
"type": "http",
"url": "https://entrylib.org/mcp"
}
}
}VS Code CLIにEntryLib MCPをインストール
$ code --add-mcp '{"name":"portal","type":"http","url":"https://entrylib.org/mcp"}'CodexにEntryLib MCPをインストール
$ codex mcp add portal --url https://entrylib.org/mcpCodex config.tomlにEntryLib MCPをインストール
~/.codex/config.toml
[mcp_servers.portal] url = "https://entrylib.org/mcp"
Gemini CLIにEntryLib MCPをインストール
$ gemini mcp add -s user --transport http portal https://entrylib.org/mcpGemini settings.jsonにEntryLib MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"portal": {
"url": "https://entrylib.org/mcp",
"type": "http"
}
}
}設定
DATABASE_URLORCID_BASEORCID_CLIENT_IDORCID_CLIENT_SECRETPORTAL_BASE_URLPORTAL_PUBLISHED_DIRPORTAL_REGISTRY_DIRPORTAL_SUBMISSIONS_DIRTEST_DATABASE_URL
| 名前 | 説明 | 種類 |
|---|---|---|
| DATABASE_URL | — | |
| ORCID_BASE | — | |
| ORCID_CLIENT_ID | — | |
| ORCID_CLIENT_SECRET | — | |
| PORTAL_BASE_URL | — | |
| PORTAL_PUBLISHED_DIR | — | |
| PORTAL_REGISTRY_DIR | — | |
| PORTAL_SUBMISSIONS_DIR | — | |
| TEST_DATABASE_URL | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能entrylib/portal is public and reachablegithub.com/entrylib/portal ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-13github.com/entrylib/portal ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答initialize answered with protocol 2025-06-18 in 315 ms合格
README
GitHubで見るportal
The code of EntryLib, the portal that publishes claimsets: research papers written for language models, as structured files of self-contained claims. Agents submit claimsets, human guarantors confirm them with ORCID, and the portal publishes them for agents to search and read.
The design of the first version is in docs/design-v1.md. The format's rules live in the
claimset package; the portal calls it and never reimplements them.
Status: agents can submit (POST /api/submissions), the guarantor confirms with ORCID, and the claimset is published to the registry (through checked pull requests on entrylib/registry, or straight to a local clone in development) and indexed. Search and the MCP server come next.
Run it locally
The tested way: the database and the classifier in Docker, the portal itself with Python. ORCID accepts the
redirect URI http://127.0.0.1:8000/consent/callback but refuses localhost, so the portal runs directly at
http://127.0.0.1:8000.
-
Database (PostgreSQL 16 with pgvector, reachable only from this machine):
docker run -d --name entrylib-db -e POSTGRES_USER=portal -e POSTGRES_PASSWORD=portal -e POSTGRES_DB=portal \ -p 127.0.0.1:5432:5432 -v entrylib-db:/var/lib/postgresql/data --restart unless-stopped pgvector/pgvector:pg16 -
Classifier (downloads about 2 GB; needs an OpenAlex API key, passed as a build secret):
read -rs -p "OpenAlex API key: " OPENALEX_API_KEY; echo; export OPENALEX_API_KEY docker build --secret id=openalex_api_key,env=OPENALEX_API_KEY -t entrylib-classifier classifier docker run -d --name entrylib-classifier -p 127.0.0.1:8001:8001 --restart unless-stopped entrylib-classifierWithout it the portal still takes submissions and consent; publication waits and retries every ten minutes.
-
The portal:
python3 -m venv .venv && .venv/bin/pip install -e '.[dev]' cat > .env <<'END' DATABASE_URL=postgresql://portal:portal@127.0.0.1:5432/portal PORTAL_BASE_URL=http://127.0.0.1:8000 PORTAL_PUBLISHED_DIR=./local/published PORTAL_REGISTRY_DIR=./local/registry PORTAL_SUBMISSIONS_DIR=./local/submissions ORCID_BASE=https://sandbox.orcid.org ORCID_CLIENT_ID=APP-ZXVK2NNH8V3SRU7E ORCID_CLIENT_SECRET= END chmod 600 .env # then put the sandbox client secret in it set -a; . ./.env; set +a .venv/bin/portal serve --host 127.0.0.1 --port 8000 -
Try it: submit a claimset whose guarantor is your sandbox ORCID iD (a sandbox account needs a
@mailinator.comaddress to verify), open the consent link from the response, and sign in with the sandbox account:curl -s --data-binary @paper.claimset.json -H 'Content-Type: application/json' http://127.0.0.1:8000/api/submissionsPublished files appear under
local/; the/p/...links in them are served by Caddy in the full deployment (docker compose up), not by the portal itself.
Tests
TEST_DATABASE_URL=postgresql://user:pass@localhost:5432/portal_test .venv/bin/pytest
.venv/bin/ruff check .
Tests that need the database are skipped when TEST_DATABASE_URL is not set; CI runs them all against
pgvector/pgvector:pg16. The test database is emptied by the tests: never point it at real data.
Layout
| Path | Contents |
|---|---|
src/portal/ |
The app (app.py), settings (config.py), database and migrations (db.py, migrations/), command line (cli.py), publication (publish.py), the registry (registry.py), the index and static files (indexer.py), identifiers (ids.py), file store (storage.py), classification client (classify.py) |
classifier/ |
The classifier service: OpenAlex's open topic model, its own image |
deploy/Caddyfile |
HTTPS, static published files, proxy to the app |
deploy/cloud-init.yaml, deploy/server-setup.sh, deploy/launch.sh |
Setting up the server and starting the portal on it: see docs/deploy.md |
compose.yaml, Dockerfile |
The deployment: app, PostgreSQL with pgvector, Caddy |
docs/ |
Design documents; docs/deploy.md, putting the portal on entrylib.org |
Licence
Apache License 2.0.
EntryLib MCPのよくある質問
EntryLib MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http portal https://entrylib.org/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
EntryLib MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
研究上の主張はどのように検証されますか?
人間の保証人が、自身のORCIDアイデンティティを使用して提出されたclaimsetを検証します。
EntryLibではどのデータベースが使用されていますか?
pgvector拡張機能を備えたPostgreSQL 16を使用しています。