ask262
Click on "Install 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., "@ask262Find spec sections about template literals"
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.
Ask262
MCP server for exploring the ECMAScript specification and its implementation in engine262.
🎮 Try it now
The fastest way to tinker with JavaScript internals:
Ask262 Chat — Ask questions in natural language (register new account)
MCP Inspector — Direct access to all mcp tools, no signup needed
npx add-mcp "https://ask262.bendtherules.in/mcp"
Features
Vector search ECMAScript specification sections using semantic queries
Execute JavaScript in engine262 and capture spec sections, with
ask262Debug.startImportant()to mark the key parts of your codeKnowledge graph mapping spec sections to implementation functions
1-second timeout on code execution for safety
Available Tools
Tool | Description |
| Vector search ECMAScript spec for relevant sections |
| Retrieve full content from a spec section |
| Execute JS and capture spec sections, with "important" marking to focus on relevant parts |
Quick Start (Hosted Instance)
Use the hosted MCP server without any local setup:
Preferred Method: npx add-mcp
Install ask262 MCP server to your client with one command:
npx add-mcp "https://ask262.bendtherules.in/mcp"Manual Configuration
If you prefer to configure manually:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"ask262": {
"url": "https://ask262.bendtherules.in/mcp"
}
}
}OpenCode (~/.config/opencode/opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ask262": {
"type": "remote",
"url": "https://ask262.bendtherules.in/mcp",
"enabled": true
}
}
}Local Installation
Prerequisites
Bun: Version 1.0.0 or higher (install)
Ollama: Installed with
qwen3-embedding:8b
(ollama pull qwen3-embedding:8b)
Setup
# Clone and install
git clone https://github.com/bendtherules/ask262
cd ask262
bun install
# Or install globally
bun install -g ask262Environment Configuration
Copy .env.example and configure:
cp .env.example .envKey variables:
ASK262_EMBEDDING_PROVIDER: Chooseollama(local) orfireworks(cloud). Default:ollamaOLLAMA_HOST: Ollama server URL. Default:http://localhost:11434FIREWORKS_API_KEY: Required if using Fireworks. Get from https://app.fireworks.aiASK262_PORT: HTTP server port. Default:8081
Example .env:
# Use Fireworks for embeddings (faster, cloud-based)
ASK262_EMBEDDING_PROVIDER=fireworks
FIREWORKS_API_KEY=fw_your_key_here
# Or use local Ollama (default)
# ASK262_EMBEDDING_PROVIDER=ollama
# OLLAMA_HOST=http://localhost:11434Local MCP Configuration
Claude Desktop (claude_desktop_config.json):
stdio (no server needed)
{
"mcpServers": {
"ask262": {
"command": "bunx",
"args": ["ask262"]
}
}
}http (requires server)
{
"mcpServers": {
"ask262": {
"url": "http://localhost:8081/mcp"
}
}
}⬇️ Required for HTTP config above:
bun run ask262-http # start HTTP serverOpenCode (~/.config/opencode/opencode.json):
stdio (no server needed)
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ask262": {
"type": "local",
"command": ["bunx", "ask262"],
"enabled": true
}
}
}http (requires server)
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ask262": {
"type": "remote",
"url": "http://localhost:8081/mcp",
"enabled": true
}
}
}⬇️ Required for HTTP config above:
bun run ask262-http # start HTTP serverHTTP Server Endpoints:
Endpoint | Description |
| Health check |
| MCP protocol endpoint |
| MCP Inspector UI (auto-connects to /mcp) |
Note: /mcp is defined before the inspector's catch-all / route to ensure proper request handling.
Testing
# Run MCP server tests
bun run test-mcp-server
# Test evaluate tool with timeout
bun run test-evaluate-timeout
# Test search functionality
bun run test-search-spec-sectionsDevelopment
For development or using a custom ECMAScript specification:
Clone and setup:
git clone https://github.com/bendtherules/ask262 cd ask262 bun installEnsure spec is present:
./spec-built/multipage/- Built ECMAScript spec HTML files
Steps -
git clone https://github.com/tc39/ecma262npm i && npm run buildcopy
out/from ecma262 tospec-built/in this repo
Build vectors (lancedb)
bun run ingestRelease to npm (maintainers only):
bun run releaseThis will:
Check for uncommitted git changes
Bump patch version (e.g., 0.0.1 → 0.0.2)
Fix any hard links in
storage/Run checks and release
Other options:
bun run release -- --minor,bun run release -- --major, orbun run release -- --no-bump
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bendtherules/ask262'
If you have feedback or need assistance with the MCP directory API, please join our Discord server