sema

sema

MCP.Pizza Chef: sema-lisp

Sema lets your AI assistant run powerful Lisp-based scripts that include AI calls as basic commands. You can build coding helpers that read and edit files, extract data from text or images, run shell commands, and manage conversations. It works in apps like Claude Desktop, Cursor, and VS Code, and connects easily to AI providers like OpenAI and Anthropic with minimal setup. This lets you automate complex tasks with AI inside your existing tools.

Coding
Data
Other

Use This MCP server To

Build AI coding assistants to read and edit files Extract structured data from text and images Run shell commands via AI scripts Create multi-turn AI conversations with memory Track AI usage costs and limits Use AI to classify text sentiment Search documents semantically with AI embeddings

README

Sema

Sema

A Lisp where LLM agents are language primitives, not an SDK — compiled to a fast bytecode VM, shipped as a single binary.

Playground Docs Version Coverage License

Docs · Playground · For Agents · Examples · Issues

Stop rewriting the agent loop. Every LLM script grows the same scaffolding — retries, caching, cost caps, rate limits, tool dispatch, conversation state. Sema makes that scaffolding the runtime: your script stays the size of its idea, ships as a single binary, and your coding agent already speaks the language.

Sema is a Scheme-like Lisp where prompts are s-expressions, conversations are persistent data structures, and LLM calls are just another form of evaluation — with Clojure-style keywords (:foo), map literals ({:key val}), and vector literals ([1 2 3]).

What It Looks Like

A coding agent with file tools, safety checks, and budget tracking — in ~40 lines:

sema FAQ

Can I use Sema to create AI-powered coding assistants?
Yes — Sema lets you build coding agents that read, edit files, and run commands, working in apps like Claude Desktop, Cursor, and VS Code.
Can I use Sema to extract structured data from text or images?
Yes — it supports extracting data from text and images using AI models from providers like OpenAI, Claude, and Google Gemini.
Do I need an API key or account to use Sema?
Yes — you need to set API keys for AI providers such as OpenAI, Anthropic, or Google Gemini in your environment to enable AI features.
How hard is it to set up Sema?
Setup is one-click — you can install it via a remote URL with no complex configuration required.
Which apps support Sema?
Sema works with Claude Desktop, Cursor, and VS Code as clients.
Can Sema handle multi-turn conversations and cost tracking?
Yes — it manages conversation state and tracks usage costs automatically.