
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A hybrid system combining an Anthropic-compatible MCP server with Ollama/Gemma LLM inference and middleware for client communication.
Anthropic-compatible MCP server with Ollama integration is cataloged as an MCP server attributed to jorgesandoval. A hybrid system combining an Anthropic-compatible MCP server with Ollama/Gemma LLM inference and middleware for client communication. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Anthropic-compatible MCP server with Ollama integration are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses Ollama with the Gemma3:4b model for inference.
Context is stored in a SQLite database.
README.md · 0e1008077a33 · Fetched 2026-11-13 11:38:15 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A hybrid architecture combining an Anthropic-compatible Model Context Protocol (MCP) server with Ollama/Gemma LLMs for inference. This implementation follows the official Model Context Protocol specification while using open-source models.
This project implements an Anthropic-compatible MCP server following the official MCP specification, along with middleware that handles communication between clients and Ollama's Gemma model.
┌───────────┐ ┌──────────────┐ ┌────────────────────────┐
│ Client │────▶│ Middleware │────▶│ Anthropic MCP Server │
│ │◀────│ │◀────│ (Claude MCP Protocol) │
└───────────┘ └──────┬───────┘ └────────────────────────┘
│ │
│ │
▼ ▼
┌─────────────┐ ┌────────────────────┐
│ Ollama │ │ SQLite Database │
│ (Gemma3:4b) │ │ (Context Storage) │
└─────────────┘ └────────────────────┘
MCP Protocol Features:
Model Support:
This implementation strictly adheres to the official Model Context Protocol (MCP) specification published by Anthropic:
JSON-RPC 2.0 Protocol: Uses the standard JSON-RPC 2.0 format for all communication, ensuring compatibility with other MCP clients and servers.
Protocol Initialization: Correctly implements the /initialize endpoint with proper protocol version negotiation (2024-03-26) and client capability declarations.
Tool Interface: Fully implements the tool calling protocol with all required annotations:
readOnlyHint: Indicates whether tools modify statedestructiveHint: Flags potentially destructive operationsidempotentHint: Marks operations that can be safely retriedResource Management: Implements the resource protocol for exposing conversation history with proper URIs and MIME types.
Prompt Templates: Provides standard prompt templates following the MCP specification for common operations.
Error Handling: Implements proper error responses with standardized error codes and messages as specified in the protocol.
Security: Follows the security recommendations in the MCP specification regarding authentication and authorization.
Versioning: Properly handles protocol versioning to ensure forward compatibility.
Our implementation is designed to be fully compatible with any MCP client, including Claude Desktop, VS Code extensions, and other tools that adhere to the official specification.
The MCP Server implements the official MCP protocol endpoints:
/tools/list, /tools/call/resources/list, /resources/read/prompts/list, /prompts/get/initializePOST /infer: Send user messages to Ollama/Gemma while storing context in the MCP serverGET /health: Check the health of the middleware and its connectionschmod +x setup.sh
./setup.sh
The setup script will:
# Clone the repository
git clone <repository-url>
cd simple-mcp-server
# Make sure Ollama is running with Gemma model
ollama pull gemma3:4b
# Build and run with Docker
docker-compose build
docker-compose up -d
You can interact with the system through the middleware, which will use Ollama/Gemma for inference while storing conversation context in the MCP server:
# Start a new conversation
curl -X POST http://localhost:8080/infer \
-H "Content-Type: application/json" \
-d '{"session_id": "user123", "content": "Hello, how are you today?"}'
# Continue the conversation with the same session ID
curl -X POST http://localhost:8080/infer \
-H "Content-Type: application/json" \
-d '{"session_id": "user123", "content": "What's the capital of France?"}'
The MCP server on port 3000 can be used with any MCP client, such as:
The project uses Docker to containerize two main components:
To test your installation:
# Run the included test script
python test_system.py
# Or use the shell script
./test.sh
This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Anthropic-compatible MCP server with Ollama integration from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/simple-mcp-server-jorgesandoval)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.