dependency-map
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Dependency Map
The Dependency Map reads RDF files (Turtle, N-Triples or RDF/XML) and computes, for each term, what has to be generated before it. It runs on your computer as a web page and as an MCP server. It needs Node.js 20 or later.
Run it
npm install
npm startnpm install also builds the page. After a change to a file in web/, build it again with npm run build.
The app prints two addresses:
Address | What it is |
| The map page: the map, the details of a term, the files and the filters. |
| The MCP server, over Streamable HTTP. |
The app answers only on localhost, and only to requests from its own page or from clients that send no Origin.
Options
Option | Environment variable | Default | Meaning |
|
|
| The port of the page and of |
| Serve MCP on standard input and output instead of |
Related MCP server: mcp-ontology-layer
Connect an MCP client
With the app running, add it to Claude Code:
claude mcp add --transport http dependency-map http://localhost:4787/mcpOr let Claude Code start the app itself:
claude mcp add dependency-map -- node /path/to/DependencyMap/server.js --stdioMCP tools
Tool | Arguments | Result |
| The files, with their triples and whether each is on, the number of terms and edges, the number of terms in each tier, and the cycles. | |
| The build order: one entry per unit (a term, or a cycle generated as one unit), in tier order. | |
|
| The term's IRI, |
|
| The terms that a file declares. |
|
| The terms whose id, IRI or label contains the text. |
|
| Selects the terms on each open map page. |
| create | type, id, properties | Makes a term of a type, or adds to one, and stores the statements that adds with the ontology of the term's namespace. Each value is checked against the property it is for. |
MCP resources
Each class of the loaded ontologies is a resource: a type. Its name is its compact id, such as rdfs:Class, and its address is its IRI. Reading it gives the classes above it and its properties: each property whose rdfs:domain is the class or a class above it, with what it takes (rdfs:range) and whether it has one value or many. The resources are those of the loaded ontologies, so loading an ontology adds its types.
create makes the term as an object of its type with LDO. A type that is not loaded, a property the type does not have, a value that is not a loaded term, and a value that is not of the property's rdfs:range are each refused. Ontologies stored as RDF/XML are not read for the types.
A term is named by its compact id, such as owl:Class, or by its IRI in angle brackets. The tools compute the map from the saved files, so their answers do not depend on an open page. A change made through a tool shows on each open page, and a change made on the page is seen by the tools.
MCP prompts
Prompt | Arguments | What it asks |
| What the loaded files give: the tiers, the cycles and the order to generate the terms in. | |
|
| For one term: what has to be generated before it, and what waits for it. |
Each prompt starts with how the map is made.
Files
Start the app in a project. It reads each RDF file anywhere under the project's docs folder. A file that is loaded goes to docs/<alias>/<name>, where the alias is the prefix of its ontology, such as docs/owl/owl.ttl; the app makes the folders. .semantickit.json, in the project folder, records which files are on. It is written the first time one is switched or added.
How the map is made
Every IRI that is the subject of a statement in a loaded file is a term. Each statement from a term to a term is an edge, and the property of the statement is the name of the edge. A value inside a blank node (a list or a class expression) belongs to the statement that holds the blank node. The files say which edges are references: rdfs:seeAlso and each property that the files make a subproperty of it. References are not used for cycles or tiers. A cycle is a strongly connected component, and it is generated as one unit. The tier of a term is the length of the longest dependency path below it.
The map is made by core/, and the page, the MCP server and the command line (node depmap-cli.js <ontology>... [--term <id>] [--order] [--json]) all use it. The reading and the graph work are done by libraries: N3 reads Turtle and N-Triples, rdfxml-streaming-parser reads RDF/XML, the statements are kept in an LDO dataset, and graphology finds the cycles and the tiers.
Parts
File | Role |
| Starts the app: the page, the page's storage and |
| The files on disk. |
| Loads one ontology: its statements and its prefixes. |
| The compact ids, and the prefix used for each namespace. |
| The terms, the edges, the cycles and the tiers. |
| The map of some loaded ontologies, and the questions asked of it. |
| The ontologies of the app, kept in the store, and the map made of them. |
| The MCP tools that ask the map a question, and the prompts. |
| The types of the loaded ontologies as MCP resources, and the |
| The map page, as Vue components. |
| The page: the map and the details sheet. |
| The views of the map, one component in each file: Tiers, Onion, Treemap, Pack, Tree, Cluster, Class and Datatype. |
| The views by standard of the Class view and of the Datatype view ( |
| The toolbar, the menus, the side panel, the details sheet ( |
| What the loaded files give, as classes that know nothing of the page: the statements ( |
| The state of the page: the files, the map and the controls, and the actions that change them. |
| The terms of RDF and RDFS that the page reads the files with. |
| The files: the page lists and reads the app's files, and asks the app to add, switch or remove one ( |
| The command line. |
|
|
Licence
GNU General Public License, version 2 only (GPL-2.0-only). The text is in LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
Repository knowledge graph MCP server for codebase understanding and debugging.
MCP server for The Chancery Lane Project's climate-aligned contract clause knowledge graph.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a code graph querying and visualization MCP server, enabling users to search, trace, and describe code components, overlay diffs, and explore architecture through natural language.MIT
- FlicenseNot gradedqualityDmaintenanceEnables local, deterministic semantic operations on OWL/RDF ontologies, including Description Logic reasoning, SPARQL querying, TBox/ABox mutation, and interactive graph visualization via an MCP interface.2-
- AlicenseAqualityBmaintenanceEnables MCP clients to safely read, write, edit, search, and optionally run commands within one or more named project workspaces, while maintaining a work journal and tracking changes.19MIT
- AlicenseNot gradedqualityBmaintenanceExposes a shared corpus of precise, connected Terms so agents can list, view, search, edit and query Knowledges, Terms and Skills, and invoke aterm commands through a single MCP tool alongside read-only GraphQL queries. It runs standalone over stdio, with an in-process server, or as a remote HTTP endpoint, publishing a refreshed snapshot on hosted writes.BSD Zero Clause