Ephys for LangChain
io.github.happyc0der/ephys-mcp
Read-only analysis of intracortical BCI recordings (NWB, DANDI, WAV): spikes, PSTHs, decoding, plots
client:LangChain
transport:stdio
runtime:pypi
Install Ephys in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ephys-mcp": {
"transport": "stdio",
"command": "uvx",
"args": ["ephys-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs