{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_vv7hm3zhfmjn","handle":"tei-mcp","url":"https://wellknown.network/agents/tei-mcp","links":{"self":"https://wellknown.network/agents/tei-mcp/record.json","html":"https://wellknown.network/agents/tei-mcp","markdown":"https://wellknown.network/agents/tei-mcp/record.md","api":"https://wellknown.network/api/v1/agents/tei-mcp","status":"https://wellknown.network/api/v1/agents/tei-mcp/status","claim":"https://wellknown.network/agents/tei-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/tei-mcp/claim.json","badge":"https://wellknown.network/agents/tei-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/tei-mcp/history","tools":"https://wellknown.network/api/v1/agents/tei-mcp/tools"},"ard":{"identifier":"urn:air::server:tei-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"tei-mcp","summary":"MCP server for querying the TEI P5 ODD specification","description":"# tei-mcp\n\nAn [MCP](https://modelcontextprotocol.io) server that gives LLMs access to the [TEI P5](https://tei-c.org/guidelines/) specification. It parses the TEI ODD and exposes tools for element lookup, attribute resolution, content model expansion, nesting validation, document validation, and ODD customisation.\n\n## Features\n\n- **Element, class, macro, and module lookup** with case-insensitive matching and typo suggestions\n- **Attribute resolution** across the full TEI class hierarchy (local + inherited)\n- **Content model expansion** into structured trees with class and macro resolution\n- **Nesting validation** (direct parent-child and recursive reachability with path tracking)\n- **Document validation** against TEI P5: content models, attributes, closed value lists, reference integrity, deprecation warnings\n- **Single-element validation** for incremental editing workflows\n- **ODD customisation** support: load a project ODD to constrain the schema (moduleRef filtering, elementSpec delete/change, attDef modifications)\n- **Regex search** across all entity types (elements, classes, macros, modules)\n- **Deprecation awareness** with validUntil dates and replacement suggestions\n- **Attribute suggestion** by intent description (keyword matching against attribute descriptions)\n\n## Requirements\n\n- Python 3.10+\n- [uv](https://docs.astral.sh/uv/) (recommended) or pip\n\n## Installation\n\n```bash\n# Clone and install\ngit clone https://github.com/Pantagrueliste/tei-mcp.git\ncd tei-mcp\nuv sync\n```\n\nOn first run, the server downloads `p5subset.xml` from the TEI website (~5 MB) and caches it locally.\n\n## Usage\n\n### With Claude Desktop\n\nAdd to your Claude Desktop configuration (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):\n\n```json\n{\n  \"mcpServers\": {\n    \"tei\": {\n      \"command\": \"uv\",\n      \"args\": [\"run\", \"--directory\", \"/path/to/tei-mcp\", \"tei-mcp\"]\n    }\n  }\n}\n```\n\n### With Claude Code\n\nAdd to your project settings (`.mcp.json`):\n\n```json\n{\n  \"mcpSer…","publisher":null,"homepage":"https://github.com/Pantagrueliste/tei-mcp","repository":"https://github.com/Pantagrueliste/tei-mcp","version":"0.1.0","license":null,"protocols":["mcp"],"tags":["digital-humanities","mcp","odd","tei","xml"],"pricing":null,"endpoints":[{"url":"pypi:tei-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.docs-lookup","name":"Documentation Lookup","confidence":0.791,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev"],"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":"tei-mcp","registry":"pypi","observedAt":"2026-11-04T02:26:20.965Z","publishedAt":"2026-03-15T19:29:41.431951Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"tei-mcp","url":"https://pypi.org/project/tei-mcp/","firstSeenAt":"2026-09-10T13:21:11.512Z","fetchedAt":"2026-11-04T02:24:40.866Z","normalizedAt":"2026-11-04T02:24:40.866Z"}]},"firstSeenAt":"2026-09-10T13:21:11.512Z","updatedAt":"2026-11-04T02:26:20.965Z"}