Ontolocy
FreeNot checkedProof of concept MCP server to augment an LLM with Ontolocy/Neo4j cyber graph capabilities.
About
Proof of concept MCP server to augment an LLM with Ontolocy/Neo4j cyber graph capabilities.
README
Simple proof of concept MCP server to augment an LLM with Ontolocy cyber graph capabilities.
Key technologies:
- Neo4j - for the graph database
- MCP Python SDK - for the MCP server
- PydanticAI - for the client (which connects to the MCP server)
- Neontology - Interacting with Neo4j using pydantic models
- Ontolocy - Cyber graph ontology and tooling built with Neontology
Quickstart
Pre-Requisites
Install dependencies with uv:
uv sync
Make sure you have a .env file which specifies:
FASTMCP_PORT=8008
OPENAI_API_KEY=<YOUR API KEY>
NEO4J_URI="neo4j://localhost:7687"
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=<YOUR NEO4J PASSWORD>
Ensure your Neo4j database is running and accessible. Be warned, the LLM may run arbitrary queries against it!
Populate the Graph
Use Ontolocy to populate the graph with MITRE ATT&CK data from the official github repo.
uv run ontolocy parse mitre-attack
Start the Server
uv run server.py
This will make the MCP server available on the port configured in the .env file (e.g.8008).
Use the CLI Client
uv run mcp_sse_client.py lookup mitre attack technique T1090 in the ontolocy cyber graph
Installing Ontolocy
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ontolocy/ontolocy-mcp-serverFAQ
Is Ontolocy MCP free?
Yes, Ontolocy MCP is free — one-click install via Unyly at no cost.
Does Ontolocy need an API key?
No, Ontolocy runs without API keys or environment variables.
Is Ontolocy hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Ontolocy in Claude Desktop, Claude Code or Cursor?
Open Ontolocy on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Ontolocy with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
