{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_7jr78gwmww2f","handle":"gliner2-mcp","url":"https://wellknown.network/agents/gliner2-mcp","links":{"self":"https://wellknown.network/agents/gliner2-mcp/record.json","html":"https://wellknown.network/agents/gliner2-mcp","markdown":"https://wellknown.network/agents/gliner2-mcp/record.md","api":"https://wellknown.network/api/v1/agents/gliner2-mcp","status":"https://wellknown.network/api/v1/agents/gliner2-mcp/status","claim":"https://wellknown.network/agents/gliner2-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/gliner2-mcp/claim.json","badge":"https://wellknown.network/agents/gliner2-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/gliner2-mcp/history","tools":"https://wellknown.network/api/v1/agents/gliner2-mcp/tools"},"ard":{"identifier":"urn:air::server:gliner2-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"gliner2-mcp","summary":"MCP server exposing GLiNER2 entity extraction, classification, and JSON parsing.","description":"# gliner2-mcp\n\nMCP server that exposes GLiNER2 entity extraction, classification, and JSON extraction as tools.\n\n## Quickstart\n\n1. Install dependencies:\n\n```bash\nuv sync\n```\n\n2. Run the MCP server:\n\n```bash\nuv run gliner2-mcp\n```\n\n## Environment configuration\n\nThis server is configured via environment variables (optionally loaded from `.env`).\n\n| Variable | Default | Description |\n| --- | --- | --- |\n| `GLINER2_MODEL_ID` | `fastino/gliner2-base-v1` | GLiNER2 model id or path. |\n| `GLINER2_DEVICE` | empty | Device override passed to `from_pretrained` when supported. |\n| `GLINER2_MAX_TEXT_LENGTH` | `0` | Maximum input length. `0` disables the limit. |\n| `GLINER2_MCP_LOG_LEVEL` | `INFO` | Log level for server logging. |\n| `GLINER2_MCP_ENV_FILE` | empty | Path to an env file to load before reading the variables above. |\n\nIf `GLINER2_MCP_ENV_FILE` is not set, the server will load `.env` from the working directory when it exists.\n\n## MCP tools\n\n- `extractEntities(text, labels)` returns a mapping of label to entity spans.\n- `classifyText(text, schema)` returns a mapping of field name to chosen label or list of labels.\n- `extractJson(text, schema)` returns a JSON object that matches the provided schema.\n\n## Available Models\n\n[GLiNER2 family models on Hugging Face](https://huggingface.co/collections/fastino/gliner2-family)\n\n## Development\n\n```bash\nuv sync --dev\nuv run ruff check .\n```\n\n## Testing\n\nRun the default test suite (unit + contract tests):\n\n```bash\nuv sync --extra dev\nuv run --extra dev pytest -q\n```\n\nRun real-model integration tests (downloads/loads actual GLiNER2 weights):\n\n```bash\nGLINER2_MCP_RUN_INTEGRATION=1 uv run --extra dev pytest -q -m integration\n```\n\nRecommended pre-release check:\n\n```bash\nuv run --extra dev pytest -q\nGLINER2_MCP_RUN_INTEGRATION=1 uv run --extra dev pytest -q -m integration\n```\n\n## License\n\nMIT. See `LICENSE`.","publisher":{"name":"gliner2-mcp contributors","url":null},"homepage":"https://mrorigo.github.io/gliner2-mcp","repository":"https://github.com/mrorigo/gliner2-mcp","version":"0.1.0","license":"MIT License  Copyright (c) 2026 gliner2-mcp contributors  Permi…","protocols":["mcp"],"tags":["classification","gliner2","mcp","ner","nlp"],"pricing":null,"endpoints":[{"url":"pypi:gliner2-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"ai.model-access","name":"Model Access","confidence":0.905,"provenance":"derived"}],"categories":["ai"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"gliner2-mcp","registry":"pypi","observedAt":"2026-11-03T03:27:07.448Z","publishedAt":"2026-02-19T06:40:33.466227Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"gliner2-mcp","url":"https://pypi.org/project/gliner2-mcp/","firstSeenAt":"2026-09-09T16:24:04.834Z","fetchedAt":"2026-11-03T03:26:29.400Z","normalizedAt":"2026-11-03T03:26:29.400Z"}]},"firstSeenAt":"2026-09-09T16:24:04.834Z","updatedAt":"2026-11-03T03:27:07.448Z"}