Back to Home
AtomGraph icon

Web-Algebra

by AtomGraph

Overview

Translates natural language instructions into JSON-formatted domain-specific language operations for loading, querying, and writing RDF Linked Data, consumable by AI agents.

Installation

Run Command
uv --directory src run --with mcp[cli] --with rdflib --with openai python -m web_algebra

Environment Variables

  • OPENAI_API_KEY
  • CERT_PEM_PATH
  • CERT_PASSWORD

Security Notes

The `web_algebra.operations.sparql.substitute.py` file explicitly notes a potential insecurity: 'Note: not a safe replacement atm, can lead to invalid SPARQL queries!'. This suggests a risk of SPARQL injection if user input is not carefully controlled, potentially leading to unauthorized data access or modification. Additionally, the `LinkedDataClient` and `SPARQLClient` allow `verify_ssl=False` (though configurable), which can expose the client to man-in-the-middle attacks if used in production without proper justification. No obvious hardcoded secrets were found as API keys and certificates are loaded from environment variables.

Similar Servers

Stats

Interest Score21
Security Score5
Cost ClassMedium
Avg Tokens200
Stars33
Forks2
Last Update2025-12-16

Tags

RDFLinked DataSPARQLAI AgentsJSON DSL