fja-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fja-mcp Evaluate my LLM for hiring fairness using FJA"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FJA-MCP
A reference implementation of the Flourishing-Justice-Autonomy (FJA) alignment framework, exposed as an MCP server.
What is FJA?
FJA is a normative AI-alignment framework that extends the HHH (Harmless-Helpful-Honest) triad to:
Flourishing: Support human well-being, pluralistic cultural perspectives, and access to knowledge.
Justice: Ensure fairness, non-discrimination, and equitable treatment.
Autonomy: Respect user choice, consent, and self-determination.
Related MCP server: arifosmcp
Install
pip install -e .Run the MCP server
fja-mcp-serveror with the official MCP CLI:
mcp run server.py -t stdio
mcp dev server.py # opens MCP InspectorRun examples
python examples/cultural_diet.py
python examples/medical_autonomy.py
python examples/hiring_fairness.pyLLM fine-tuning + FJA evaluation demo
This example loads distilgpt2 (81M parameters), evaluates its FJA metrics, fine-tunes it on a tiny FJA-aligned dataset, and re-evaluates.
pip install torch transformers datasets accelerate
python examples/llm_fja_demo.pyUse the MCP client
fja-mcp-clientor
python -m fja_mcp.mcp_clientRun tests
pytestLicense
MIT
Available Tools
2 toolscompare_outputsC
Compare two candidate responses and recommend the one more aligned with FJA.
Inputs: prompt (required), response_a (required), response_b (required). Returns: result
evaluate_outputC
Evaluate an LLM response using FJA criteria.
Inputs: prompt (required), response (required), user_context. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one evaluates a single response, the other compares two responses. There is no overlap in functionality, and an agent can easily select the appropriate tool based on whether it needs a single evaluation or a comparison.
Both tool names follow a consistent verb_noun pattern: evaluate_output and compare_outputs. The naming is predictable and aligns with their functions, making it easy to infer behavior from the name.
With only two tools, the server feels minimal but covers the core evaluation and comparison tasks. However, it is on the thin side for a dedicated server, and additional tools like batch evaluation or criteria management could round it out.
The server provides essential single and comparative evaluation capabilities, which are the primary use cases. Minor gaps exist, such as lacking a tool to retrieve or modify FJA criteria, but these are not critical for basic evaluation workflows.
Related MCP Connectors
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
AI governance MCP server for EU AI Act compliance and jurisdiction verification
MCP server for AI dialogue using various LLM models via AceDataCloud
AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.
Related MCP Servers
- AlicenseAqualityFmaintenanceThe Atla MCP Server provides a standardized interface for LLMs to interact with the Atla API for state-of-the-art LLMJ evaluation.216MIT
- AlicenseNot gradedqualityFmaintenanceConstitutional MCP server enforcing 13 Floors of governance for AI agents, providing tools for session anchoring, reasoning, safety critique, and audit logging.AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables agents to evaluate LLMs daily through capability benchmarks and value alignment tests, providing tools to list models, get almanac, judge dilemmas, match user values, and score models.1-
- AlicenseAqualityDmaintenanceAn MCP server that audits LLM-as-judge evaluations, detecting judge drift across runs, measuring bias through controlled probes, and comparing judge agreement with human raters.6MIT