simfinity.js/THE GRAPHQL FRAMEWORK
Define once.Build beyond.
Define your GraphQL types. Generate MongoDB models,
queries, mutations, and MCP tools from one schema.
npm i @simtlix/simfinity-js graphql mongooseA type is just
the beginning.
One series catalog. Three ways to work with it.
Add a relationship and follow what changes.
Your domain, expressed once.
Register a type. Simfinity builds the models and operations around it.
import { GraphQLObjectType, GraphQLID,
GraphQLString } from 'graphql';
import * as simfinity from '@simtlix/simfinity-js';
const Serie = new GraphQLObjectType({
name: 'Serie',
fields: {
id: { type: GraphQLID },
name: { type: GraphQLString },
},
});
simfinity.connect(null, Serie, 'serie', 'series');
export const schema = simfinity.createSchema();{
"data": {
"series": [
{
"id": "507f1f77bcf86cd799439011",
"name": "The Expanse"
}
]
}
}One registration adds list, detail, aggregation and CRUD operations.
02 / BUILT AROUND YOUR DOMAIN
Less plumbing.
More possibility.
A connected foundation, with the freedom to make it your own.
A connection becomes a query.
series { seasons { number } }Relationships, already connected.
Embedded documents. References. Collections. Describe the connections in your domain and let Simfinity generate the resolvers.
series { seasons { number } }Connect your data Questions without the boilerplate.
Compose nested filters, logical expressions, sorting, pagination, and aggregations through a familiar GraphQL interface.
name: { operator: LIKE, value: "Expanse" }Explore queries Your application. Your rules.
Bring authorization, validation, and query scopes into your schema. Control access with the context your application provides.
addserie: requireRole('editor')Define your rules Convention meets your ambition.
Make room for what is unique. Lifecycle hooks, custom mutations, and state machines keep your business logic in your hands.
onSaving(doc, args, session, context)Make it yours 03 / A NEW WAY TO CONNECT
Your API.
Meet AI.
Your schema already knows your data.
Now your AI tools can, too. Generate typed MCP
tools from the same GraphQL API.
generateMCPTools(schema)Search your catalog with typed filters, sorting, and pagination.
{
"pagination": {
"page": 1,
"size": 10
}
}One schema. Every interface.
A clear path.
At every step.
From the first query to the finer details.
Everything you need to keep building.