OpenSeesPy & OPSVIS Documentation MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenSeesPy & OPSVIS Documentation MCP Server
A lightweight, production-ready, and completely offline Model Context Protocol (MCP) server providing intelligent documentation search and code retrieval for OpenSeesPy and OPSVIS.
Designed specifically for structural engineers, researchers, and developers pair-programming with AI assistants such as Google Antigravity 2.0, Gemini, Claude, and Cursor.
⚡ Built With Google Antigravity 2.0 & Gemini
This project was architected, implemented, and verified entirely via pair programming using:
Google Antigravity 2.0 (Next-Generation Agentic Coding Environment by Google DeepMind)
Gemini (Advanced Reasoning & Agentic Execution)
Related MCP server: CHECK-MODULE MCP Server
🎯 Key Features
100% Local & Offline: Zero external vector APIs, embedding costs, or cloud services.
Dual-Layer Search Engine:
SQLite FTS5 BM25 Ranking with boosted weighting for API commands and parameters.
Fuzzy / Typo-Tolerant Fallback utilizing trigram indexing and vocabulary distance matching (e.g. automatically resolves
elasitc$\rightarrow$Elastic).
AST-Powered Code Intelligence: Statically parses function signatures and docstrings directly from Python source code without loading heavy DLLs.
Section-Aware Chunking: Preserves structural parameters, equations, and executable Python examples without chunk fragmentation.
Strict Token Efficiency: Excerpts are capped at ~500–800 characters to prevent context window bloat during LLM pair programming.
Clean STDIO Transport: Fully compliant with the official MCP specification;
sys.stdoutis reserved strictly for JSON-RPC messages and logs route tostderr.
🛠️ Exposed MCP Tools
Tool | Description |
| Full-text BM25 search across OpenSeesPy and OPSVIS with relevance ranking. |
| Fetches the complete section content, parameters, and full code examples. |
| Quick retrieval of command signatures, argument tables, and syntax. |
| Lists top-level chapters, sections, and module hierarchies. |
| Incrementally updates the database when documentation files change. |
| Displays indexing statistics across both repositories. |
🚀 Quick Start & Installation
1. Clone the Repository
git clone https://github.com/pkotenetwork/opensees-mcp.git
cd opensees-mcp2. Install Dependencies
pip install -r requirements.txt(The repository includes the pre-indexed doc_index.db covering 548 files and 1,293 chunks—ready to query immediately).
🤖 Google Antigravity 2.0 Configuration
Add the server to your Antigravity MCP configuration (~/.gemini/antigravity/mcp_config.json or ~/.gemini/config/mcp_config.json):
{
"mcpServers": {
"opensees-docs": {
"command": "python",
"args": [
"/path/to/opensees-mcp/server.py"
],
"env": {
"PYTHONIOENCODING": "utf-8",
"PYTHONUNBUFFERED": "1"
}
}
}
}(On Windows, provide the full path to python.exe and escape backslashes, e.g. C:\\ProgramData\\anaconda3\\python.exe and D:\\opensees-mcp\\server.py).
🧪 Testing
Run the automated test suite (parser, incremental indexer, BM25 search, and MCP endpoints):
python -m unittest discover -s tests📄 License & Attribution
License: Released under the GNU General Public License v3.0 (GPLv3).
OpenSees & OpenSeesPy: Open System for Earthquake Engineering Simulation (UC Berkeley / PEER).
OPSVIS: Pre-, post-processing and visualization Python module for OpenSeesPy by Seweryn Kokot (Opole University of Technology, Poland). Cite: SoftwareX, 34, 102615 (2026).
Author: Prashant Kote (@pkotenetwork)
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for querying Forkast documentation
Docsy gives AI assistants current, version-specific documentation for libraries, frameworks and SDKs. Resolve library IDs and versions, then search and fetch focused official documentation with original source links using five read-only MCP tools. Hosted Streamable HTTP with OAuth 2.1 sign-in.
Query any docs site via MCP. Submit a URL, ask questions, get cited answers.
Query your own PDFs and documents from any MCP client. Every answer cites the page it came from.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIndexes documentation sites by base URL and serves keyword search, optional semantic search, and Markdown page retrieval as MCP tools, all from a single SQLite file.-
- AlicenseAqualityDmaintenanceEnables managing internal documentation with search and add capabilities, and fetching official documentation from 13+ popular libraries via MCP tools.69MIT
- AlicenseAqualityDmaintenanceScrapes, stores, and searches documentation locally, enabling AI assistants to access and query documentation via MCP.114MIT
- FlicenseAqualityDmaintenanceEnables searching documentation from GitHub repositories and web pages via MCP tools, with in-memory indexing and caching for fast retrieval.3-